Refactor: Bereinige von nicht genutzten Variablen
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<script>
|
||||
import List from "./WorkingHours/List.svelte";
|
||||
import Formular from "./WorkingHours/Formular.svelte";
|
||||
export let params = {};
|
||||
|
||||
let TITLE = "Bearbeitung Einträge"
|
||||
let activeRecord = null;
|
||||
let newRecord = false;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -17,7 +17,7 @@
|
||||
<h1>{TITLE}</h1>
|
||||
</header>
|
||||
<article>
|
||||
<List bind:activeRecord={activeRecord} bind:newRecord={newRecord}/>
|
||||
<List bind:activeRecord={activeRecord}/>
|
||||
</article>
|
||||
</section>
|
||||
{:else}
|
||||
@@ -26,7 +26,7 @@
|
||||
<h1>{TITLE}</h1>
|
||||
</header>
|
||||
<article>
|
||||
<Formular bind:activeRecord={activeRecord} bind:newRecord={newRecord}/>
|
||||
<Formular bind:activeRecord={activeRecord}/>
|
||||
</article>
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user