mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(core): fix share icon to filter type item (#12582)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated the icon for the "shared" property to use a new visual representation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -2,6 +2,7 @@ import type { FilterParams } from '@affine/core/modules/collection-rules';
|
||||
import type { DocRecord } from '@affine/core/modules/doc';
|
||||
import type { I18nString } from '@affine/i18n';
|
||||
import {
|
||||
CloudWorkspaceIcon,
|
||||
DateTimeIcon,
|
||||
EdgelessIcon,
|
||||
FavoriteIcon,
|
||||
@@ -9,7 +10,6 @@ import {
|
||||
IntegrationsIcon,
|
||||
LongerIcon,
|
||||
MemberIcon,
|
||||
ShareIcon,
|
||||
TagIcon,
|
||||
TemplateIcon,
|
||||
} from '@blocksuite/icons/rc';
|
||||
@@ -139,7 +139,7 @@ export const SystemPropertyTypes = {
|
||||
filterValue: FavoriteFilterValue,
|
||||
},
|
||||
shared: {
|
||||
icon: ShareIcon,
|
||||
icon: CloudWorkspaceIcon,
|
||||
name: 'Shared',
|
||||
filterMethod: {
|
||||
is: 'com.affine.filter.is',
|
||||
|
||||
Reference in New Issue
Block a user