feat(client): expose Rocket.Chat channel

Refs #3821
This commit is contained in:
Marcos Paulo Diniz committed 2026-08-02 01:59:34 -03:00
1 parent 750fc9e238
commit 5774cb0e06
6 files changed
+34 -2

No files matched your search

+7
View File
@@ -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",