projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add query <-> advanced data synchronization
[arvados.git]
/
src
/
models
/
collection-file.ts
diff --git
a/src/models/collection-file.ts
b/src/models/collection-file.ts
index d74ada6008b982fe40daca7e601fbfbb99f1ea57..37e18cfc0d247905900d3fec4ac6160a8d3afe01 100644
(file)
--- a/
src/models/collection-file.ts
+++ b/
src/models/collection-file.ts
@@
-2,7
+2,7
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { Tree, createTree, setNode } from './tree';
+import { Tree, createTree, setNode
, TreeNodeStatus
} from './tree';
export type CollectionFilesTree = Tree<CollectionDirectory | CollectionFile>;
export type CollectionFilesTree = Tree<CollectionDirectory | CollectionFile>;
@@
-60,6
+60,11
@@
export const createCollectionFilesTree = (data: Array<CollectionDirectory | Coll
children: [],
id: item.id,
parent: item.path,
children: [],
id: item.id,
parent: item.path,
- value: item
+ value: item,
+ active: false,
+ selected: false,
+ expanded: false,
+ status: TreeNodeStatus.INITIAL
+
})(tree), createTree<CollectionDirectory | CollectionFile>());
};
\ No newline at end of file
})(tree), createTree<CollectionDirectory | CollectionFile>());
};
\ No newline at end of file