Display a badge to inform about case sensitivity (can be disabled by setting)

This commit is contained in:
nemunaire 2023-11-05 10:59:10 +01:00
commit 20272e7bad
6 changed files with 32 additions and 3 deletions

View file

@ -1,5 +1,6 @@
<script>
import {
Badge,
Button,
Icon,
Spinner,
@ -115,6 +116,15 @@
{#if flag.found && flag.value}
<span>{flag.value}</span>
{/if}
{#if !flag.found && !$settings.hideCaseSensitivity && !flag.ignore_case}
<Badge
class="float-end"
color="danger"
title="Ce flag est sensible à la casse!"
>
aA
</Badge>
{/if}
{#if !flag.found}
{#each values as v, index}
{#if !flag.choices}