mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-16 08:11:40 +00:00
update
This commit is contained in:
parent
8a97106890
commit
7dbfbe6ddc
|
@ -4,7 +4,7 @@ module.exports = {
|
||||||
for (const oneOf of oneOfs) {
|
for (const oneOf of oneOfs) {
|
||||||
oneOf?.use?.forEach((someUse) => {
|
oneOf?.use?.forEach((someUse) => {
|
||||||
if (!someUse?.options?.modules?.mode) return;
|
if (!someUse?.options?.modules?.mode) return;
|
||||||
// someUse.options.modules.localIdentName = '[local]';
|
someUse.options.modules.localIdentName = '[local]';
|
||||||
someUse.options.modules.getLocalIdent = (context, localIdentName, localName) => {
|
someUse.options.modules.getLocalIdent = (context, localIdentName, localName) => {
|
||||||
return localName;
|
return localName;
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,14 +3,14 @@ import { IDirtyFile } from 'ts/interfaces/FileInfo';
|
||||||
|
|
||||||
export default class FileBuilderTasks {
|
export default class FileBuilderTasks {
|
||||||
static setProps(file: any, commit: ICommit) {
|
static setProps(file: any, commit: ICommit) {
|
||||||
file.tasks = [commit.task];
|
file.tasks = commit.task ? [commit.task] : [];
|
||||||
file.timestamp = [commit.timestamp];
|
file.timestamp = [commit.timestamp];
|
||||||
file.totalTasks = 0;
|
file.totalTasks = 0;
|
||||||
file.totalDays = 0;
|
file.totalDays = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static updateProps(file: IDirtyFile, commit: ICommit) {
|
static updateProps(file: IDirtyFile, commit: ICommit) {
|
||||||
file.tasks.push(commit.task);
|
if (commit.task) file.tasks.push(commit.task);
|
||||||
file.timestamp.push(commit.timestamp);
|
file.timestamp.push(commit.timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,7 @@ function View({ response, updateSort, rowsForExcel, mode }: CompaniesProps) {
|
||||||
.reverse()
|
.reverse()
|
||||||
.map((taskId: any) => dataGripStore.dataGrip.tasks.statisticByName.get(taskId))
|
.map((taskId: any) => dataGripStore.dataGrip.tasks.statisticByName.get(taskId))
|
||||||
.filter(v => v);
|
.filter(v => v);
|
||||||
|
console.log(content);
|
||||||
return (
|
return (
|
||||||
<Tasks // @ts-ignore
|
<Tasks // @ts-ignore
|
||||||
response={{ content }}
|
response={{ content }}
|
||||||
|
|
Loading…
Reference in a new issue