mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Removing warnings about deprecated shortcuts.
Summary: Warnings about deprecated shortcuts are no longer needed. As a side effect it fixes a bug that caused those warnings to not persist its state on pages with charts. Test Plan: Removed Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3820
This commit is contained in:
@@ -5,7 +5,6 @@ import {encodeUrl, getSlugIfNeeded, GristLoadConfig, IGristUrlState, isOrgInPath
|
||||
parseSubdomain, sanitizePathTail} from 'app/common/gristUrls';
|
||||
import {getOrgUrlInfo} from 'app/common/gristUrls';
|
||||
import {UserProfile} from 'app/common/LoginSessionAPI';
|
||||
import {DeprecationWarning} from 'app/common/Prefs';
|
||||
import {tbind} from 'app/common/tbind';
|
||||
import * as version from 'app/common/version';
|
||||
import {ApiServer} from 'app/gen-server/ApiServer';
|
||||
@@ -826,9 +825,7 @@ export class FlexServer implements GristServer {
|
||||
// Note that the updateOrg() method handles all levels of prefs (for user, user+org, or org).
|
||||
await this._dbManager.updateOrg(getScope(req), 0, {userPrefs: {
|
||||
showNewUserQuestions: true,
|
||||
recordSignUpEvent: true,
|
||||
// Mark all deprecated warnings as seen.
|
||||
seenDeprecatedWarnings: DeprecationWarning.values
|
||||
recordSignUpEvent: true
|
||||
}});
|
||||
|
||||
const domain = mreq.org ?? null;
|
||||
|
||||
Reference in New Issue
Block a user