From 31d71d0dcf7fab1bcd385bc1e99c315bee63a2ec Mon Sep 17 00:00:00 2001 From: Ben Haynes Date: Tue, 1 Sep 2020 12:42:54 -0400 Subject: [PATCH] default collections icon --- app/src/displays/collection/index.ts | 2 +- app/src/stores/collections.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/displays/collection/index.ts b/app/src/displays/collection/index.ts index 01869a612d..1fe063767c 100644 --- a/app/src/displays/collection/index.ts +++ b/app/src/displays/collection/index.ts @@ -5,7 +5,7 @@ export default defineDisplay(({ i18n }) => ({ id: 'collection', name: i18n.t('collection'), types: ['string'], - icon: 'box', + icon: 'label', handler: DisplayCollection, options: [ { diff --git a/app/src/stores/collections.ts b/app/src/stores/collections.ts index 72cabdef5d..199ced9f23 100644 --- a/app/src/stores/collections.ts +++ b/app/src/stores/collections.ts @@ -27,7 +27,7 @@ export const useCollectionsStore = createStore({ this.state.collections = collections.map((collection: CollectionRaw) => { let name: string | VueI18n.TranslateResult; - const icon = collection.meta?.icon || 'box'; + const icon = collection.meta?.icon || 'label'; if (collection.meta && notEmpty(collection.meta.translation)) { for (let i = 0; i < collection.meta.translation.length; i++) {