handle readonly connection in UI

This commit is contained in:
Jan Prochazka
2022-03-17 12:37:17 +01:00
parent 34658e134f
commit 267e687e2b
16 changed files with 52 additions and 19 deletions

View File

@@ -14,6 +14,7 @@
export let isBold = false;
export let isBusy = false;
export let statusIcon = undefined;
export let statusIconBefore = undefined;
export let statusTitle = undefined;
export let extInfo = undefined;
export let menu = undefined;
@@ -101,6 +102,11 @@
<FontIcon style={`color:${colorMark}`} icon="icon square" />
{/if}
{title}
{#if statusIconBefore}
<span class="status">
<FontIcon icon={statusIconBefore} />
</span>
{/if}
{#if statusIcon}
<span class="status">
<FontIcon icon={statusIcon} title={statusTitle} />