File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,10 @@ pageConfig.goals
114
114
const userSettings = new UserSettingsStore ( ) ;
115
115
console . log ( "use old theme: " + userSettings . useOldTheme ) ;
116
116
117
- // const requestsEnabled = config.value["media.requests.disabled.permanently"] === false && config.value["media.requests.enabled"] === true;
118
- // const hasGoals = pageConfig.goals.length > 0;
117
+ const requestsEnabled = config . value [ "media.requests.disabled.permanently" ] === false && config . value [ "media.requests.enabled" ] === true ;
118
+ const hasGoals = pageConfig . goals . length > 0 ;
119
119
120
- const showNewVersion = recipientId === "tabularussia" &&
121
- //!requestsEnabled && !hasGoals &&
120
+ const showNewVersion = ! requestsEnabled && ! hasGoals &&
122
121
window . screen . width > 1000 &&
123
122
window . innerWidth > 1000 &&
124
123
! userSettings . useOldTheme ;
You can’t perform that action at this time.
0 commit comments