removed unused IdLabel component

This commit is contained in:
Gani Georgiev
2023-01-24 12:45:05 +02:00
parent 2d40487b21
commit e5477961ad
38 changed files with 148 additions and 158 deletions
-15
View File
@@ -1,15 +0,0 @@
<script>
export let id = "";
let shortId = id;
$: if (typeof id === "string" && id.length > 27) {
shortId = id.substring(0, 5) + "..." + id.substring(id.length - 10);
}
</script>
{#if id}
<span class="label txt-base txt-mono" title={id}>{shortId}</span>
{:else}
<span class="txt txt-hint">N/A</span>
{/if}