(core) fix autocomplete of LinkKey

Summary:
update user.Link to user.LinkKey in autocomplete.
This was a late change on the backend.

Test Plan: checked manually

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2787
This commit is contained in:
Paul Fitzpatrick 2021-04-26 12:19:29 -04:00
parent dcc4354da6
commit 91fdef58ac

View File

@ -122,7 +122,7 @@ export class AccessRules extends Disposable {
{ruleIndex: -1, value: 'Email', label: 'user.Email'}, {ruleIndex: -1, value: 'Email', label: 'user.Email'},
{ruleIndex: -1, value: 'UserID', label: 'user.UserID'}, {ruleIndex: -1, value: 'UserID', label: 'user.UserID'},
{ruleIndex: -1, value: 'Name', label: 'user.Name'}, {ruleIndex: -1, value: 'Name', label: 'user.Name'},
{ruleIndex: -1, value: 'Link', label: 'user.Link'}, {ruleIndex: -1, value: 'LinkKey', label: 'user.LinkKey'},
{ruleIndex: -1, value: 'Origin', label: 'user.Origin'}, {ruleIndex: -1, value: 'Origin', label: 'user.Origin'},
]; ];
for (const [i, rule] of rules.entries()) { for (const [i, rule] of rules.entries()) {