Skip to content

Commit

Permalink
made sure that json-query for the mqtt monitor is translated properly (
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored May 23, 2024
2 parents 359e961 + 63b8c52 commit 1590ca6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/EditMonitor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,10 @@
<label for="jsonPath" class="form-label">{{ $t("Json Query") }}</label>
<input id="jsonPath" v-model="monitor.jsonPath" type="text" class="form-control" required>

<!-- eslint-disable-next-line vue/no-v-html -->
<div class="form-text" v-html="$t('jsonQueryDescription')">
</div>
<i18n-t tag="div" class="form-text" keypath="jsonQueryDescription">
<a href="https://jsonata.org/">jsonata.org</a>
<a href="https://try.jsonata.org/">{{ $t('here') }}</a>
</i18n-t>
<br>

<label for="expectedValue" class="form-label">{{ $t("Expected Value") }}</label>
Expand Down

0 comments on commit 1590ca6

Please sign in to comment.