mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-08-28 23:01:02 +00:00
fix(ui): fix fluxer input styling; make discord input hidden (#7110)
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
<template>
|
||||
<div class="mb-3">
|
||||
<label for="discord-webhook-url" class="form-label">{{ $t("Discord Webhook URL") }}</label>
|
||||
<input
|
||||
<HiddenInput
|
||||
id="discord-webhook-url"
|
||||
v-model="$parent.notification.discordWebhookUrl"
|
||||
type="text"
|
||||
class="form-control"
|
||||
required
|
||||
autocomplete="false"
|
||||
/>
|
||||
@@ -144,11 +143,13 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import HiddenInput from "../HiddenInput.vue";
|
||||
import TemplatedTextarea from "../TemplatedTextarea.vue";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
TemplatedTextarea,
|
||||
HiddenInput,
|
||||
},
|
||||
mounted() {
|
||||
if (!this.$parent.notification.discordChannelType) {
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
id="fluxer-webhook-url"
|
||||
v-model="$parent.notification.fluxerWebhookUrl"
|
||||
type="url"
|
||||
class="form-control"
|
||||
required
|
||||
autocomplete="false"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user