refac
This commit is contained in:
1 parent
249b12e44f
commit
6a3b0e3110
1 file changed
+1
-7
@@ -116,13 +116,7 @@
|
|||||||
]
|
]
|
||||||
: [];
|
: [];
|
||||||
|
|
||||||
items = [
|
items = [...notes, ...collections, ...legacy_collections].map((item) => {
|
||||||
...notes,
|
|
||||||
...collections,
|
|
||||||
...collection_files,
|
|
||||||
...legacy_collections,
|
|
||||||
...legacy_documents
|
|
||||||
].map((item) => {
|
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
...(item?.legacy || item?.meta?.legacy || item?.meta?.document ? { legacy: true } : {})
|
...(item?.legacy || item?.meta?.legacy || item?.meta?.document ? { legacy: true } : {})
|
||||||
|
|||||||
Reference in new issue
Block a user