mirror of
https://github.com/hay-kot/mealie.git
synced 2025-07-11 15:47:13 -07:00
feat: Add the ability to flag a food as "on hand", to exclude from shopping list (#3777)
This commit is contained in:
parent
4831adb0f3
commit
a062a4beaa
8 changed files with 112 additions and 9 deletions
|
@ -19,6 +19,7 @@ export const useFoodData = function () {
|
|||
name: "",
|
||||
description: "",
|
||||
labelId: undefined,
|
||||
onHand: false,
|
||||
});
|
||||
|
||||
function reset() {
|
||||
|
@ -26,6 +27,7 @@ export const useFoodData = function () {
|
|||
data.name = "";
|
||||
data.description = "";
|
||||
data.labelId = undefined;
|
||||
data.onHand = false;
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue