From 77ef22bdb4c26b827df279ba3aa6165d7ee7d387 Mon Sep 17 00:00:00 2001 From: Philipp Dormann <philipp@philippdormann.de> Date: Mon, 23 May 2022 21:08:11 +0200 Subject: [PATCH] set proper ntfy priorities --- src/components/notifications/Ntfy.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/notifications/Ntfy.vue b/src/components/notifications/Ntfy.vue index ae1e8a507..4f21093ba 100644 --- a/src/components/notifications/Ntfy.vue +++ b/src/components/notifications/Ntfy.vue @@ -14,7 +14,7 @@ <div class="mb-3"> <label for="ntfy-priority" class="form-label">{{ $t("Priority") }}</label> - <input id="ntfy-priority" v-model="$parent.notification.ntfyPriority" type="number" class="form-control" required min="0" max="10" step="1"> + <input id="ntfy-priority" v-model="$parent.notification.ntfyPriority" type="number" class="form-control" required min="1" max="5" step="1"> </div> </template> @@ -22,7 +22,7 @@ export default { mounted() { if (typeof this.$parent.notification.ntfyPriority === "undefined") { - this.$parent.notification.ntfyPriority = 4; + this.$parent.notification.ntfyPriority = 5; } }, }