mirror of
https://github.com/directus/directus.git
synced 2026-01-28 14:28:02 -05:00
default collections icon
This commit is contained in:
@@ -5,7 +5,7 @@ export default defineDisplay(({ i18n }) => ({
|
||||
id: 'collection',
|
||||
name: i18n.t('collection'),
|
||||
types: ['string'],
|
||||
icon: 'box',
|
||||
icon: 'label',
|
||||
handler: DisplayCollection,
|
||||
options: [
|
||||
{
|
||||
|
||||
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user