feat(notifications): on update available (#352)

This commit is contained in:
Ludvig Lundgren 2022-07-12 14:47:08 +02:00 committed by GitHub
parent b4589243de
commit 2a3a839081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 326 additions and 18 deletions

View file

@ -305,7 +305,7 @@ export const downloadsPerUnitOptions: OptionBasic[] = [
export interface SelectOption {
label: string;
description: string;
value: string;
value: NotificationEvent;
}
export const EventOptions: SelectOption[] = [
@ -333,5 +333,10 @@ export const EventOptions: SelectOption[] = [
label: "IRC Reconnected",
value: "IRC_RECONNECTED",
description: "Reconnected to irc network after error"
}
},
{
label: "New update",
value: "APP_UPDATE_AVAILABLE",
description: "Get notified on updates"
},
];