mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix: experimental settings sometimes not show (#6090)
This commit is contained in:
@@ -265,7 +265,7 @@ const WorkspaceListItem = ({
|
||||
if (key === 'experimental-features') {
|
||||
return (
|
||||
isOwner &&
|
||||
currentWorkspace.flavour === WorkspaceFlavour.AFFINE_CLOUD &&
|
||||
meta.flavour === WorkspaceFlavour.AFFINE_CLOUD &&
|
||||
availableFeatures.length > 0
|
||||
);
|
||||
}
|
||||
@@ -290,8 +290,8 @@ const WorkspaceListItem = ({
|
||||
}, [
|
||||
activeSubTab,
|
||||
availableFeatures.length,
|
||||
currentWorkspace.flavour,
|
||||
isOwner,
|
||||
meta.flavour,
|
||||
onClick,
|
||||
t,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user