mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
feat: update icon
This commit is contained in:
@@ -89,6 +89,7 @@ export const iconNames = [
|
|||||||
'edgeless',
|
'edgeless',
|
||||||
'journal',
|
'journal',
|
||||||
'payment',
|
'payment',
|
||||||
|
'createdEdited',
|
||||||
] as const satisfies fromLibIconName<LibIconComponentName>[];
|
] as const satisfies fromLibIconName<LibIconComponentName>[];
|
||||||
|
|
||||||
export type PagePropertyIcon = (typeof iconNames)[number];
|
export type PagePropertyIcon = (typeof iconNames)[number];
|
||||||
@@ -110,9 +111,9 @@ export const getDefaultIconName = (
|
|||||||
case 'number':
|
case 'number':
|
||||||
return 'number';
|
return 'number';
|
||||||
case 'createdBy':
|
case 'createdBy':
|
||||||
return 'account';
|
return 'createdEdited';
|
||||||
case 'updatedBy':
|
case 'updatedBy':
|
||||||
return 'account';
|
return 'createdEdited';
|
||||||
default:
|
default:
|
||||||
return 'text';
|
return 'text';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user