chore: Deprecate collection.url on client

This commit is contained in:
Tom Moor
2024-01-31 20:08:01 -05:00
parent 4800b60825
commit 7417514e7c
11 changed files with 32 additions and 24 deletions

View File

@@ -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]);