UI: wrap long errors (#18458)
This commit is contained in:
parent
c426fe006e
commit
e85475b4e0
2 changed files with 13 additions and 2 deletions
|
|
@ -4,6 +4,17 @@ import OfflineIndicator from "./OfflineIndicator.vue";
|
|||
|
||||
<template>
|
||||
<Story>
|
||||
<OfflineIndicator />
|
||||
<Variant title="offline">
|
||||
<OfflineIndicator offline />
|
||||
</Variant>
|
||||
<Variant title="fatal">
|
||||
<OfflineIndicator
|
||||
:fatal="{
|
||||
error: `cannot create charger 'wallbox_cphl': cannot create charger type 'template': cannot create
|
||||
charger type 'hardybarth-ecbl: Post http://192.168.2.219/api/v1/chargecontrols/1/mode: context deadline exceeded (Client.Timeout
|
||||
exceeded while awaiting headers)`,
|
||||
}"
|
||||
/>
|
||||
</Variant>
|
||||
</Story>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
{{ $t("offline.configurationError") }}
|
||||
</strong>
|
||||
</div>
|
||||
<div v-if="fatal">{{ fatal.error }}</div>
|
||||
<div v-if="fatal" class="text-break">{{ fatal.error }}</div>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue