mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
🎨 Database beta https://github.com/siyuan-note/siyuan/issues/9242
This commit is contained in:
parent
f2e87bd18f
commit
6c2009adf2
1 changed files with 1 additions and 1 deletions
|
|
@ -30,5 +30,5 @@ export const needSubscribe = (tip = window.siyuan.languages._kernel[29]) => {
|
|||
};
|
||||
|
||||
export const isPaidUser = () => {
|
||||
return 0 === window.siyuan.user.userSiYuanSubscriptionStatus || 1 === window.siyuan.user.userSiYuanOneTimePayStatus;
|
||||
return window.siyuan.user && (0 === window.siyuan.user.userSiYuanSubscriptionStatus || 1 === window.siyuan.user.userSiYuanOneTimePayStatus);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue