mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Fixing UserManger releted tests
Summary: Some tests were not compatible with the new ACUser search component. Test Plan: Existing Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3643
This commit is contained in:
@@ -32,6 +32,8 @@ export interface UserManagerModel {
|
||||
activeUser: FullUser|null; // Populated if current user is logged in.
|
||||
gristDoc: GristDoc|null; // Populated if there is an open document.
|
||||
|
||||
// Analyze the relation that users have to the resource or site.
|
||||
annotate(): void;
|
||||
// Resets all unsaved changes
|
||||
reset(): void;
|
||||
// Recreate annotations, factoring in any changes on the back-end.
|
||||
@@ -253,7 +255,6 @@ export class UserManagerModelImpl extends Disposable implements UserManagerModel
|
||||
return member.email === this.activeUser?.email;
|
||||
}
|
||||
|
||||
// Analyze the relation that users have to the resource or site.
|
||||
public annotate() {
|
||||
// Only attempt for documents for now.
|
||||
// TODO: extend to workspaces.
|
||||
|
||||
Reference in New Issue
Block a user