mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-05-24 01:12:54 -04:00
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.
12 lines
228 B
TypeScript
12 lines
228 B
TypeScript
import { TranslateResult } from "vue-i18n";
|
|
|
|
export interface SideBarLink {
|
|
icon: string;
|
|
to?: string;
|
|
href?: string;
|
|
title: TranslateResult;
|
|
children?: SideBarLink[];
|
|
}
|
|
|
|
export type SidebarLinks = Array<SideBarLink>;
|