revert: revert: functions changes

This commit is contained in:
Torsten Dittmann committed 2022-10-14 20:40:06 +02:00
1 parent 7e9ac06e5e
commit 6aa1d1fe2e
1 file changed
+3
@@ -5,6 +5,7 @@
import { createEventDispatcher } from 'svelte';
import { addNotification } from '$lib/stores/notifications';
import { page } from '$app/stores';
import { clickOnEnter } from '$lib/helpers/a11y';
export let showCreate = false;
@@ -39,6 +40,7 @@
<span
class="tabs-button"
on:click={() => (showCli = true)}
on:keyup={clickOnEnter}
class:is-selected={showCli}>
<span class="text">Files</span>
</span>
@@ -47,6 +49,7 @@
<span
class="tabs-button"
on:click={() => (showCli = false)}
on:keyup={clickOnEnter}
class:is-selected={!showCli}>
<span class="text">Usage</span>
</span>