"Update empty state message in PosLastScannedLicensePlatesV2 to improve clarity and consistency."
This commit is contained in:
@@ -681,7 +681,7 @@ const isDropdownContentLoaded = (scan) => {
|
||||
<tr v-if="scansInfinityScroll !== null && scansInfinityScroll.length === 0">
|
||||
<td colspan="3">
|
||||
<div class="has-text-centered">
|
||||
Ingen flere nummerplader
|
||||
Ingen nummerplader blev fundet
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -695,6 +695,7 @@ const isDropdownContentLoaded = (scan) => {
|
||||
<span class="icon">
|
||||
<i class="fas fa-check"></i>
|
||||
</span>
|
||||
<span> </span>
|
||||
<span>{{ SessionUser.objects.global.language.nothing_left_to_show }}</span>
|
||||
</div>
|
||||
</td>
|
||||
@@ -702,12 +703,6 @@ const isDropdownContentLoaded = (scan) => {
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- If there's no scans, and the infinity scroll is also empty or null -->
|
||||
<div class="panel-block" v-if="list.length === 0 && getDepartment() !== '' && (scansInfinityScroll === null || scansInfinityScroll.length === 0)">
|
||||
<p>
|
||||
Ingen nummerplader blev fundet
|
||||
</p>
|
||||
</div>
|
||||
<!-- Reload button -->
|
||||
<div class="panel-block" v-if="list.length === 0 && getDepartment() !== '' && scansInfinityScroll === null">
|
||||
<button class="button is-dark is-fullwidth" @click="loadList">
|
||||
|
||||
Reference in New Issue
Block a user