Skip to content

Commit

Permalink
Removal the usage of v-html
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Oct 29, 2024
1 parent 5dc0809 commit 23a4a9b
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions ui/src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<cv-form @submit.prevent="configureModule">
<NsTextInput
:label="$t('settings.phpmyadmin_path')"
:placeholder="$t('common.eg_value', {value: '/phpmyadmin'})"
:placeholder="$t('common.eg_value', { value: '/phpmyadmin' })"
v-model.trim="path"
class="mg-bottom"
:invalid-message="$t(error.path)"
Expand All @@ -31,13 +31,7 @@
tooltipDirection="right"
>
<template slot="tooltip">
<div
v-html="
$t(
'settings.phpmyadmin_path_tips'
)
"
></div>
<div>{{ $t("settings.phpmyadmin_path_tips") }}</div>
</template>
</NsTextInput>
<template v-if="mariadb_tcp_port">
Expand Down Expand Up @@ -129,13 +123,7 @@
max="256"
>
<template slot="tooltip">
<div
v-html="
$t(
'settings.upload_limit_tips'
)
"
></div>
<div>{{ $t("settings.upload_limit_tips") }}</div>
</template>
</NsTextInput>
<NsButton
Expand Down

0 comments on commit 23a4a9b

Please sign in to comment.