saving data to ember store
This commit is contained in:
@@ -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