fix(notifications): update and list password (#1951)

This commit is contained in:
ze0s 2025-01-25 18:34:49 +01:00 committed by GitHub
parent 3f8bc0140c
commit 9eff694a5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 44 additions and 37 deletions

View file

@ -575,6 +575,7 @@ interface InitialValues {
host?: string;
events: NotificationEvent[];
username?: string
password?: string
}
export function NotificationUpdateForm({ isOpen, toggle, data: notification }: UpdateFormProps<ServiceNotification>) {
@ -625,7 +626,8 @@ export function NotificationUpdateForm({ isOpen, toggle, data: notification }: U
topic: notification.topic,
host: notification.host,
events: notification.events || [],
username: notification.username
username: notification.username,
password: notification.password
};
return (

View file

@ -26,4 +26,5 @@ interface ServiceNotification {
topic?: string;
host?: string;
username?: string;
password?: string;
}