mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-28 00:34:47 -04:00
refator: reuse search page component (#2240)
* wip: fix recipe card section * refactor basic search to share composable * fix dialog results * use search for cat/tag/tool pages * update organizer to support name edits * fix composable typing
This commit is contained in:
@@ -7,7 +7,13 @@ export interface ContextMenuItem {
|
||||
color?: string;
|
||||
}
|
||||
|
||||
export function useContextPresets(): { [key: string]: ContextMenuItem } {
|
||||
export interface ContextMenuPresets {
|
||||
delete: ContextMenuItem;
|
||||
edit: ContextMenuItem;
|
||||
save: ContextMenuItem;
|
||||
}
|
||||
|
||||
export function useContextPresets(): ContextMenuPresets {
|
||||
const { $globals, i18n } = useContext();
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user