mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-07 02:22:52 +00:00
fix: remove tab hotkeys
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
import { page } from "$app/stores";
|
import { page } from "$app/stores";
|
||||||
import { action } from "$lib/title";
|
|
||||||
import LL from "../i18n/i18n-svelte";
|
import LL from "../i18n/i18n-svelte";
|
||||||
|
|
||||||
$: paths = [
|
$: paths = [
|
||||||
@@ -24,11 +23,7 @@
|
|||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
{#each paths as { href, title, icon }, i}
|
{#each paths as { href, title, icon }, i}
|
||||||
<a
|
<a {href} class:active={$page.url.pathname.startsWith(href)}>
|
||||||
{href}
|
|
||||||
class:active={$page.url.pathname.startsWith(href)}
|
|
||||||
use:action={{ shortcut: `shift+${i + 1}` }}
|
|
||||||
>
|
|
||||||
<span class="icon">{icon}</span>
|
<span class="icon">{icon}</span>
|
||||||
{title}
|
{title}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user