mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
Fix double click on sidebar on smaller screens (#906)
The problem was that on smaller screens or when resizing, v-navigation-drawer would change its value on its own, but these changes were not propagated to AppSidebar. I also added a few missing type definitions for SidebarLinks.
This commit is contained in:
parent
76d2eecd86
commit
2c17845169
3 changed files with 31 additions and 17 deletions
|
@ -2,8 +2,10 @@ import { TranslateResult } from "vue-i18n";
|
|||
|
||||
export interface SideBarLink {
|
||||
icon: string;
|
||||
to: string;
|
||||
to?: string;
|
||||
href?: string;
|
||||
title: TranslateResult;
|
||||
children?: SideBarLink[];
|
||||
}
|
||||
|
||||
export type SidebarLinks = Array<SideBarLink>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue