Add disable url option in notification Discord (#5817)

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Cyril59310
2025-05-06 01:33:49 +02:00
committed by GitHub
parent 32d92eccfa
commit 76c382f229
3 changed files with 16 additions and 5 deletions

View File

@@ -53,6 +53,13 @@
</div>
</div>
</div>
<div class="mb-3">
<div class="form-check form-switch">
<input id="discord-disable-url" v-model="$parent.notification.disableUrl" class="form-check-input" type="checkbox" role="switch">
<label class="form-check-label" for="discord-disable-url">{{ $t("Disable URL in Notification") }}</label>
</div>
</div>
</template>
<script>
export default {
@@ -60,6 +67,9 @@ export default {
if (!this.$parent.notification.discordChannelType) {
this.$parent.notification.discordChannelType = "channel";
}
if (this.$parent.notification.disableUrl === undefined) {
this.$parent.notification.disableUrl = false;
}
}
};
</script>