mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: properly reset selection.
This commit is contained in:
+11
-1
@@ -458,7 +458,7 @@
|
||||
</div>
|
||||
|
||||
{#if selectedColumn}
|
||||
<DeleteColumn bind:showDelete {selectedColumn} />
|
||||
<DeleteColumn bind:showDelete bind:selectedColumn />
|
||||
{:else if selectedColumns && selectedColumns.length}
|
||||
<DeleteColumn bind:showDelete bind:selectedColumn={selectedColumns} />
|
||||
{/if}
|
||||
@@ -476,3 +476,13 @@
|
||||
{#if showFailed}
|
||||
<FailedModal bind:show={showFailed} title="Create attribute" header="Creation failed" {error} />
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
.floating-action-bar {
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
z-index: 14;
|
||||
position: absolute;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
</style>
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@
|
||||
|
||||
await invalidate(Dependencies.TABLE);
|
||||
showDelete = false;
|
||||
selectedColumn = [];
|
||||
selectedColumn = Array.isArray(selectedColumn) ? [] : null;
|
||||
} catch (e) {
|
||||
error = e.message;
|
||||
trackError(e, Submit.ColumnDelete);
|
||||
|
||||
Reference in New Issue
Block a user