chore: Deprecate collection.url on client
This commit is contained in:
@@ -121,13 +121,13 @@ export default class CollectionsStore extends Store<Collection> {
|
||||
|
||||
if (this.isLoaded) {
|
||||
this.data.forEach((collection) => {
|
||||
const { id, name, url } = collection;
|
||||
const { id, name, path } = collection;
|
||||
const node = {
|
||||
type: DocumentPathItemType.Collection,
|
||||
id,
|
||||
collectionId: id,
|
||||
title: name,
|
||||
url,
|
||||
url: path,
|
||||
};
|
||||
results.push([node]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user