+
+
+ {t("alertingSectionActions")}
+
+ {
+ if (type === "notify") {
+ append({
+ type: "notify",
+ userIds: [],
+ roleIds: [],
+ emailTags: []
+ });
+ } else if (type === "sms") {
+ append({
+ type: "sms",
+ phoneTags: []
+ });
+ } else {
+ append({
+ type: "webhook",
+ url: "",
+ method: "POST",
+ headers: [
+ { key: "", value: "" }
+ ],
+ secret: ""
+ });
+ }
+ }}
+ />
+
+ {fields.map((f, index) => (
+
remove(index)}
+ canRemove={fields.length > 1}
+ />
+ ))}
+
+