Refactor notification view to disable push column when push is not

currently possible

Closes #821

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-09-07 17:45:21 +02:00
parent 3564b69db8
commit d36f1d4b5e
2 changed files with 60 additions and 43 deletions

View File

@@ -29,9 +29,11 @@ export interface IUserSettings {
location?: IUserPreferredLocation;
}
export type IActivitySettingMethod = "email" | "push";
export interface IActivitySetting {
key: string;
method: string;
method: IActivitySettingMethod;
enabled: boolean;
}