Clean up some code

This commit is contained in:
James Cole
2022-12-31 07:33:44 +01:00
parent 27a576ae8a
commit 24696bf800
18 changed files with 29 additions and 26 deletions

View File

@@ -30,7 +30,7 @@
<input v-model=active :name="name" @change="handleInput" type="checkbox" value="1">
</label>
</div>
<p class="help-block" v-html="$t('firefly.webhook_active_form_help')"></p>
<p class="help-block" v-text="$t('firefly.webhook_active_form_help')"></p>
</div>
</div>
</template>

View File

@@ -37,7 +37,7 @@
:value="delivery.id">{{ delivery.name }}
</option>
</select>
<p class="help-block" v-html="$t('firefly.webhook_delivery_form_help')"></p>
<p class="help-block" v-text="$t('firefly.webhook_delivery_form_help')"></p>
<ul v-for="error in this.error" class="list-unstyled">
<li class="text-danger">{{ error }}</li>
</ul>

View File

@@ -37,7 +37,7 @@
:value="response.id">{{ response.name }}
</option>
</select>
<p class="help-block" v-html="$t('firefly.webhook_response_form_help')"></p>
<p class="help-block" v-text="$t('firefly.webhook_response_form_help')"></p>
<ul v-for="error in this.error" class="list-unstyled">
<li class="text-danger">{{ error }}</li>
</ul>

View File

@@ -37,7 +37,7 @@
:value="trigger.id">{{ trigger.name }}
</option>
</select>
<p class="help-block" v-html="$t('firefly.webhook_trigger_form_help')"></p>
<p class="help-block" v-text="$t('firefly.webhook_trigger_form_help')"></p>
<ul v-for="error in this.error" class="list-unstyled">
<li class="text-danger">{{ error }}</li>
</ul>