Favour v-text over mustache syntax

This commit is contained in:
Tomasz Rymkiewicz
2021-12-27 17:29:25 +01:00
committed by FireMasterK
parent c4ea68f9d8
commit d750eabc37
18 changed files with 136 additions and 144 deletions

View File

@@ -1,12 +1,12 @@
<template>
<h1 class="font-bold text-center">{{ $t("titles.history") }}</h1>
<h1 class="font-bold text-center" v-text="$t('titles.history')" />
<div style="text-align: left">
<button class="btn" v-t="'actions.clear_history'" @click="clearHistory"></button>
</div>
<div style="text-align: right">
<label for="ddlSortBy">{{ $t("actions.sort_by") }}</label>
<label for="ddlSortBy" v-text="$t('actions.sort_by')" />
<select id="ddlSortBy" v-model="selectedSort" class="select w-auto" @change="onChange()">
<option v-t="'actions.most_recent'" value="descending" />
<option v-t="'actions.least_recent'" value="ascending" />