saving data to ember store
This commit is contained in:
1 parent
e75e22316e
commit
c41cecebd6
17 files changed
+109
-129
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user