Document share dialog should allow inviting new users (#6827)

closes #6796
This commit is contained in:
Tom Moor
2024-04-23 07:23:09 -04:00
committed by GitHub
parent 3dbb7106a5
commit a60e464f71
3 changed files with 86 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
import { computed, observable } from "mobx";
import { TeamPreferenceDefaults } from "@shared/constants";
import { TeamPreference, TeamPreferences } from "@shared/types";
import { TeamPreference, TeamPreferences, UserRole } from "@shared/types";
import { stringToColor } from "@shared/utils/color";
import Model from "./base/Model";
import Field from "./decorators/Field";
@@ -58,7 +58,7 @@ class Team extends Model {
@Field
@observable
defaultUserRole: string;
defaultUserRole: UserRole;
@Field
@observable