feat: Add the ability to flag a food as "on hand", to exclude from shopping list (#3777)

This commit is contained in:
boc-the-git 2024-06-29 01:16:04 +10:00 committed by GitHub
parent 4831adb0f3
commit a062a4beaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 112 additions and 9 deletions

View file

@ -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 {