1 parent
750fc9e238
commit
5774cb0e06
6 files changed
+34
-2
No files matched your search
@@ -46,6 +46,13 @@ function buildDefaults(data: Notification | null): NotificationFormData {
|
||||
address: data.address || "",
|
||||
};
|
||||
}
|
||||
if (data?.type === "rocket_chat") {
|
||||
return {
|
||||
type: "rocket_chat",
|
||||
notificationName: data.notificationName || "",
|
||||
address: data.address || "",
|
||||
};
|
||||
}
|
||||
if (data?.type === "pager_duty") {
|
||||
return {
|
||||
type: "pager_duty",
|
||||
|
||||
Reference in new issue
Block a user