mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051
This commit is contained in:
@@ -111,7 +111,7 @@ export const isHuawei = () => {
|
||||
};
|
||||
|
||||
export const isDisabledFeature = (feature: string): boolean => {
|
||||
return window.siyuan.config.system.disabledFeatures.indexOf(feature) > -1;
|
||||
return window.siyuan.config.system.disabledFeatures?.indexOf(feature) > -1;
|
||||
};
|
||||
|
||||
export const isIPhone = () => {
|
||||
|
||||
Reference in New Issue
Block a user