mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
SYNC: load pro widget in trial
This commit is contained in:
committed by
Diflow
parent
36a4b67ef4
commit
7eb9e42210
@@ -308,7 +308,8 @@ async function refreshPublicFiles(isRefresh) {
|
||||
} catch (err) {
|
||||
logger.error(extractErrorLogData(err), 'DBGM-00166 Error updating cloud files');
|
||||
}
|
||||
if (!isProApp()) {
|
||||
const configSettings = await config.get();
|
||||
if (!isProApp() || configSettings?.trialDaysLeft != null) {
|
||||
await updatePremiumPromoWidget();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user