mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
feat: create new foods and units from their Data Management pages (#1511)
* added create dialogs to food and unit pages * minor css tweaks * properly reset create form * added placeholder name attribute for type checking * removed unnecessary value assignment * type fixes * corrected comment * add autofocus and use ref<VForm> for form refs Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
parent
1b83c82997
commit
483f789b8e
4 changed files with 139 additions and 5 deletions
|
@ -65,7 +65,7 @@
|
|||
<v-card-actions class="mt-n5 mb-1">
|
||||
<v-menu offset-y bottom nudge-bottom="6" :close-on-content-click="false">
|
||||
<template #activator="{ on, attrs }">
|
||||
<v-btn color="accent" class="mr-1" dark v-bind="attrs" v-on="on">
|
||||
<v-btn color="accent" class="mr-2" dark v-bind="attrs" v-on="on">
|
||||
<v-icon left>
|
||||
{{ $globals.icons.cog }}
|
||||
</v-icon>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue