This commit is contained in:
Humberto Evans 2024-02-12 16:31:58 -08:00
parent e8fada9386
commit 80bdc455da
2 changed files with 5 additions and 9 deletions

View file

@ -247,7 +247,7 @@ async function applyNotificationEveryMonitor(notificationID, userID) {
let checkNotification = await R.findOne( let checkNotification = await R.findOne(
"monitor_notification", "monitor_notification",
" monitor_id = ? AND notification_id = ? ", " monitor_id = ? AND notification_id = ? ",
[monitors[i].id, notificationID] [ monitors[i].id, notificationID ]
); );
if (!checkNotification) { if (!checkNotification) {

View file

@ -1,9 +1,7 @@
<template> <template>
<div class="mb-3"> <div class="mb-3">
<label for="heiioncall-apikey" class="form-label" <label for="heiioncall-apikey" class="form-label">{{ $t("API Key")
>{{ $t("API Key") }}<span style="color: red"><sup>*</sup></span></label>
}}<span style="color: red"><sup>*</sup></span></label
>
<HiddenInput <HiddenInput
id="heiioncall-apikey" id="heiioncall-apikey"
v-model="$parent.notification.heiiOnCallApiKey" v-model="$parent.notification.heiiOnCallApiKey"
@ -12,10 +10,8 @@
></HiddenInput> ></HiddenInput>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="heiioncall-trigger-id" class="form-label" <label for="heiioncall-trigger-id" class="form-label">{{ $t("Trigger ID")
>{{ $t("Trigger ID") }}<span style="color: red"><sup>*</sup></span></label>
}}<span style="color: red"><sup>*</sup></span></label
>
<HiddenInput <HiddenInput
id="heiioncall-trigger-id" id="heiioncall-trigger-id"
v-model="$parent.notification.heiiOnCallTriggerId" v-model="$parent.notification.heiiOnCallTriggerId"