Fix translation of selected incident style

This commit is contained in:
Ivan 2021-11-12 09:53:41 +01:00
parent 31fa67452e
commit b7a9d1474f

View file

@ -125,7 +125,7 @@
<div v-if="editIncidentMode" class="dropdown d-inline-block me-2"> <div v-if="editIncidentMode" class="dropdown d-inline-block me-2">
<button id="dropdownMenuButton1" class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false"> <button id="dropdownMenuButton1" class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
{{ $t("Style") }}: {{ incident.style }} {{ $t("Style") }}: {{ $t(incident.style) }}
</button> </button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1"> <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
<li><a class="dropdown-item" href="#" @click="incident.style = 'info'">{{ $t("info") }}</a></li> <li><a class="dropdown-item" href="#" @click="incident.style = 'info'">{{ $t("info") }}</a></li>