mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 00:41:39 +08:00
build: remove legacy cloud config (#3024)
(cherry picked from commit 70ac31b907)
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ const LocalHeaderShareMenu: React.FC<BaseHeaderProps> = props => {
|
||||
};
|
||||
|
||||
export const HeaderShareMenu: React.FC<BaseHeaderProps> = props => {
|
||||
if (!runtimeConfig.enableLegacyCloud) {
|
||||
if (!runtimeConfig.enableCloud) {
|
||||
return null;
|
||||
}
|
||||
if (props.workspace.flavour === WorkspaceFlavour.AFFINE_CLOUD) {
|
||||
|
||||
Reference in New Issue
Block a user