saving data to ember store

This commit is contained in:
2020-06-26 18:16:35 +02:00
parent e75e22316e
commit c41cecebd6
17 changed files with 109 additions and 129 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import Model, { attr } from '@ember-data/model';
export default class ProduktModel extends Model {
@attr titel;
@attr isSelected;
@attr ('boolean') isSelected;
@attr kategorie;
@attr menge;
@attr einheit;
+1 -1
View File
@@ -2,7 +2,7 @@ import Model, { attr, hasMany } from '@ember-data/model';
export default class RezeptModel extends Model {
@attr titel;
@attr isSelected;
@attr ('boolean') isSelected;
@attr ('string') beschreibung;
@attr kategorie;
@attr produkte;