{ISO6391.getName(cell.value)}
-
{cell.value}
- {#if cell.value === $projectStore.data?.project.default_iso_code}
-
default
- {/if}
+
{cell.value}
{:else if cell.key === 'isDefaultLanguage'}
{#if row.isDefaultLanguage === false}
From f7ea012ef2cce2ccf511ccf356f13ec46f9ce371 Mon Sep 17 00:00:00 2001
From: jannesblobel <72493222+jannesblobel@users.noreply.github.com>
Date: Sun, 21 Nov 2021 23:23:40 +0100
Subject: [PATCH 4/4] imp: UI ,fix the delet bin on pages (Keys, languages,
members)
---
.../src/routes/project/[projectId]/keys.svelte | 8 +++++---
.../routes/project/[projectId]/languages.svelte | 5 +----
.../src/routes/project/[projectId]/members.svelte | 15 +++++++++------
3 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/packages/dashboard/src/routes/project/[projectId]/keys.svelte b/packages/dashboard/src/routes/project/[projectId]/keys.svelte
index 85cd30e9f6..48acf69776 100644
--- a/packages/dashboard/src/routes/project/[projectId]/keys.svelte
+++ b/packages/dashboard/src/routes/project/[projectId]/keys.svelte
@@ -8,7 +8,7 @@
Tag,
Pagination
} from 'carbon-components-svelte';
- import TrashCan32 from 'carbon-icons-svelte/lib/TrashCan32';
+ import Delete16 from 'carbon-icons-svelte/lib/Delete16';
import TranslationModal from '$lib/components/modals/TranslationModal.svelte';
import { projectStore } from '$lib/stores/projectStore';
import CreateKeyModal from '$lib/components/modals/CreateKeyModal.svelte';
@@ -141,8 +141,10 @@
deleteKeyModal.show({ key: row.key });
}}
iconDescription="Delete translation"
- icon={TrashCan32}
- kind="danger-ghost"
+ kind="ghost"
+ icon={Delete16}
+ tooltipAlignment="start"
+ tooltipPosition="left"
/>