Changed nutritional to nutrition.
This commit is contained in:
1 parent
7986632dab
commit
3ae697d852
15 files changed
+93
-10234
No files matched your search
@@ -5,7 +5,7 @@
|
||||
import DeleteConfirm from "~/components/ui/deleteConfirm.vue";
|
||||
import type {Unit} from "~/types/unit";
|
||||
import type {Label} from "~/types/label";
|
||||
import type {Nutritional} from "~/types/nutritional.ts";
|
||||
import type {Nutrition} from "~/types/nutrition.ts";
|
||||
|
||||
let store = useLabelEditorStore();
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
let label: Ref<Label | null> = ref<Label | null>(JSON.parse(JSON.stringify(props.variant.label)));
|
||||
let variant_description: Ref<string | null> = ref<string | null>(JSON.parse(JSON.stringify(props.variant.variant_description)));
|
||||
let topm_row: Ref<string | null> = ref<string | null>(JSON.parse(JSON.stringify(props.variant.topm_row)));
|
||||
let nutrition: Ref<Nutritional | null> = ref<Nutritional | null>(JSON.parse(JSON.stringify(props.variant.nutritional)));
|
||||
let nutrition: Ref<Nutrition | null> = ref<Nutrition | null>(JSON.parse(JSON.stringify(props.variant.nutrition)));
|
||||
|
||||
function toggleEdit() {
|
||||
if (edit.value) {
|
||||
|
||||
Reference in new issue
Block a user