default collections icon

This commit is contained in:
Ben Haynes
2020-09-01 12:42:54 -04:00
parent 41d5f131d3
commit 31d71d0dcf
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ export default defineDisplay(({ i18n }) => ({
id: 'collection',
name: i18n.t('collection'),
types: ['string'],
icon: 'box',
icon: 'label',
handler: DisplayCollection,
options: [
{

View File

@@ -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++) {