Skip to content

Commit f45467b

Browse files
authored
fix(ui): fix fluxer input styling; make discord input hidden (#7110)
1 parent c602101 commit f45467b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/notifications/Discord.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<template>
22
<div class="mb-3">
33
<label for="discord-webhook-url" class="form-label">{{ $t("Discord Webhook URL") }}</label>
4-
<input
4+
<HiddenInput
55
id="discord-webhook-url"
66
v-model="$parent.notification.discordWebhookUrl"
77
type="text"
8-
class="form-control"
98
required
109
autocomplete="false"
1110
/>
@@ -144,11 +143,13 @@
144143
</div>
145144
</template>
146145
<script>
146+
import HiddenInput from "../HiddenInput.vue";
147147
import TemplatedTextarea from "../TemplatedTextarea.vue";
148148
149149
export default {
150150
components: {
151151
TemplatedTextarea,
152+
HiddenInput,
152153
},
153154
mounted() {
154155
if (!this.$parent.notification.discordChannelType) {

src/components/notifications/Fluxer.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
id="fluxer-webhook-url"
66
v-model="$parent.notification.fluxerWebhookUrl"
77
type="url"
8-
class="form-control"
98
required
109
autocomplete="false"
1110
/>

0 commit comments

Comments
 (0)