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) {
|
||||
oneOf?.use?.forEach((someUse) => {
|
||||
if (!someUse?.options?.modules?.mode) return;
|
||||
// someUse.options.modules.localIdentName = '[local]';
|
||||
someUse.options.modules.localIdentName = '[local]';
|
||||
someUse.options.modules.getLocalIdent = (context, localIdentName, localName) => {
|
||||
return localName;
|
||||
};
|
||||
|
|
|
@ -3,14 +3,14 @@ import { IDirtyFile } from 'ts/interfaces/FileInfo';
|
|||
|
||||
export default class FileBuilderTasks {
|
||||
static setProps(file: any, commit: ICommit) {
|
||||
file.tasks = [commit.task];
|
||||
file.tasks = commit.task ? [commit.task] : [];
|
||||
file.timestamp = [commit.timestamp];
|
||||
file.totalTasks = 0;
|
||||
file.totalDays = 0;
|
||||
}
|
||||
|
||||
static updateProps(file: IDirtyFile, commit: ICommit) {
|
||||
file.tasks.push(commit.task);
|
||||
if (commit.task) file.tasks.push(commit.task);
|
||||
file.timestamp.push(commit.timestamp);
|
||||
}
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ function View({ response, updateSort, rowsForExcel, mode }: CompaniesProps) {
|
|||
.reverse()
|
||||
.map((taskId: any) => dataGripStore.dataGrip.tasks.statisticByName.get(taskId))
|
||||
.filter(v => v);
|
||||
console.log(content);
|
||||
return (
|
||||
<Tasks // @ts-ignore
|
||||
response={{ content }}
|
||||
|
|
Loading…
Reference in a new issue