Fix note not showing up on collection overview

Fixes #816
This commit is contained in:
rijkvanzanten
2020-10-30 09:52:28 -04:00
parent cd920fde51
commit 39e70db7db

View File

@@ -9,6 +9,7 @@ export type NavItem = {
name: string | VueI18n.TranslateResult;
to: string;
icon: string;
note: string | null;
};
export type NavItemGroup = {
@@ -40,6 +41,7 @@ export default function useNavigation() {
collection: collection,
name: collectionInfo.name,
icon: collectionInfo.meta?.icon || 'label',
note: collectionInfo.meta?.note || null,
to: `/collections/${collection}`,
};
@@ -59,6 +61,7 @@ export default function useNavigation() {
collection: collection.collection,
name: collection.name,
icon: collection.meta?.icon || 'label',
note: collection.meta?.note || null,
to: `/collections/${collection.collection}`,
};