fix(web): disable notification center (#2934)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-06-30 03:29:05 +00:00
1 parent 50a8a147fd
commit 4adbe64a54
3 files changed
+7 -1

No files matched your search

+5
View File
@@ -30,6 +30,7 @@ const buildPreset = {
enableNewSettingModal: false,
enableNewSettingUnstableApi: false,
enableSQLiteProvider: false,
enableNotificationCenter: false,
},
beta: {},
internal: {},
@@ -46,6 +47,7 @@ const buildPreset = {
enableNewSettingModal: true,
enableNewSettingUnstableApi: false,
enableSQLiteProvider: false,
enableNotificationCenter: true,
},
};
@@ -90,6 +92,9 @@ const environmentPreset = {
enableNewSettingUnstableApi: process.env.ENABLE_NEW_SETTING_UNSTABLE_API
? process.env.ENABLE_NEW_SETTING_UNSTABLE_API === 'true'
: currentBuildPreset.enableNewSettingUnstableApi,
enableNotificationCenter: process.env.ENABLE_NOTIFICATION_CENTER
? process.env.ENABLE_NOTIFICATION_CENTER === 'true'
: currentBuildPreset.enableNotificationCenter,
};
/**