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 { DocRecord } from '@affine/core/modules/doc';
|
||||||
import type { I18nString } from '@affine/i18n';
|
import type { I18nString } from '@affine/i18n';
|
||||||
import {
|
import {
|
||||||
|
CloudWorkspaceIcon,
|
||||||
DateTimeIcon,
|
DateTimeIcon,
|
||||||
EdgelessIcon,
|
EdgelessIcon,
|
||||||
FavoriteIcon,
|
FavoriteIcon,
|
||||||
@@ -9,7 +10,6 @@ import {
|
|||||||
IntegrationsIcon,
|
IntegrationsIcon,
|
||||||
LongerIcon,
|
LongerIcon,
|
||||||
MemberIcon,
|
MemberIcon,
|
||||||
ShareIcon,
|
|
||||||
TagIcon,
|
TagIcon,
|
||||||
TemplateIcon,
|
TemplateIcon,
|
||||||
} from '@blocksuite/icons/rc';
|
} from '@blocksuite/icons/rc';
|
||||||
@@ -139,7 +139,7 @@ export const SystemPropertyTypes = {
|
|||||||
filterValue: FavoriteFilterValue,
|
filterValue: FavoriteFilterValue,
|
||||||
},
|
},
|
||||||
shared: {
|
shared: {
|
||||||
icon: ShareIcon,
|
icon: CloudWorkspaceIcon,
|
||||||
name: 'Shared',
|
name: 'Shared',
|
||||||
filterMethod: {
|
filterMethod: {
|
||||||
is: 'com.affine.filter.is',
|
is: 'com.affine.filter.is',
|
||||||
|
|||||||
Reference in New Issue
Block a user