Update Backend
This commit is contained in:
@@ -40,7 +40,6 @@
|
||||
export let schematics: SchematicList;
|
||||
export let user: Player;
|
||||
|
||||
let uploadOpen = false;
|
||||
let infoModalId: number | null = null;
|
||||
|
||||
function schemListClick(isDir: boolean, id: number) {
|
||||
@@ -77,11 +76,6 @@
|
||||
</BreadcrumbItem>
|
||||
{/each}
|
||||
</Breadcrumb>
|
||||
<div class="flex flex-col justify-center">
|
||||
<SWButton on:click={() => uploadOpen = true}>
|
||||
{t("dashboard.schematic.upload")}
|
||||
</SWButton>
|
||||
</div>
|
||||
</div>
|
||||
<table>
|
||||
<tbody>
|
||||
@@ -133,8 +127,6 @@
|
||||
|
||||
<SWPaginator bind:page maxPage={maxPage} />
|
||||
|
||||
<UploadModal bind:open={uploadOpen} on:refresh />
|
||||
|
||||
{#if infoModalId !== null}
|
||||
<SchematicInfo schematicId={infoModalId} {user} on:reset={() => infoModalId = null} />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user