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