From 0f94eb04c2090e3856223369754373767b8573ea Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 2 Apr 2023 00:21:43 -0700 Subject: [PATCH] attempt fix --- packages/client/src/ui/deck.vue | 4 +++- packages/client/src/ui/deck/deck-store.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/client/src/ui/deck.vue b/packages/client/src/ui/deck.vue index a052c5d94..e3af9aa6f 100644 --- a/packages/client/src/ui/deck.vue +++ b/packages/client/src/ui/deck.vue @@ -211,6 +211,7 @@ function changeProfile(ev: MouseEvent) { } async function deleteProfile() { + console.log(deckStore.state.profile) const { canceled } = await os.confirm({ type: 'warning', text: i18n.t('deleteAreYouSure', { x: deckStore.state.profile }), @@ -347,7 +348,8 @@ async function deleteProfile() { align-items: center; justify-content: center; border-radius: 10px; - margin: -0.5rem; + margin: -0.35rem; + transform: scale(0.8); } } diff --git a/packages/client/src/ui/deck/deck-store.ts b/packages/client/src/ui/deck/deck-store.ts index 075cc5cea..4c9df3559 100644 --- a/packages/client/src/ui/deck/deck-store.ts +++ b/packages/client/src/ui/deck/deck-store.ts @@ -108,7 +108,7 @@ export async function getProfiles(): Promise { }); } -export async function deleteProfile(key: string): Promise { +export async function deleteProfile(key: string): Promise { return await api("i/registry/remove", { scope: ["client", "deck", "profiles"], key: key,