fix: errors

This commit is contained in:
Arman committed 2025-05-14 15:11:23 +02:00
1 parent 5a96e28b38
commit 414d995f94
4 files changed
+13 -7

No files matched your search

+4 -4
View File
@@ -373,7 +373,7 @@
</div>
{:else}
{@const mobileConfig = getMobileWindowConfig()}
<button
<div
class:showing={!openModalOnMobile}
class="card notification-card u-width-full-line"
on:click={() => {
@@ -387,8 +387,8 @@
<div class="u-flex-vertical u-gap-4">
<div class="u-flex u-cross-center u-main-space-between">
<h3 class="body-text-2 u-bold">{mobileConfig.title}</h3>
<button on:click={hideAllModalAlerts}>
<span class="icon-x" />
<button on:click={hideAllModalAlerts} aria-label="Close">
<span class="icon-x"></span>
</button>
</div>
@@ -400,7 +400,7 @@
{/if}
</span>
</div>
</button>
</div>
{/if}
</div>
{/if}
+7 -1
View File
@@ -54,7 +54,13 @@
</script>
{#if !hidePages}
<Pagination {limit} page={currentPage} {total} type="button" on:page={handleOptionClick} />
<Pagination
{limit}
page={currentPage}
{total}
type="button"
on:page={handleOptionClick}
createLink={undefined as never} />
{:else}
<Layout.Stack direction="row" inline>
<Button.Button
+1 -1
View File
@@ -48,7 +48,7 @@
{value}
{step}
helper={error}
on:change={(event) => (value = event.target.value)}
on:change={(event) => (value = (event.target as HTMLInputElement).value)}
autocomplete={autocomplete ? 'on' : 'off'}>
{#if nullable}
<Selector.Checkbox
+1 -1
View File
@@ -59,7 +59,7 @@ export type TableRootProp = {
selectedAll: boolean;
selectedNone: boolean;
selectedSome: boolean;
columns: Record<Column['id'], Column>;
columns: Record<PinkColumn['id'], PinkColumn>;
toggle: (id: string) => void;
toggleAll: () => void;
addAvailableId: (id: string) => void;