add products
This commit is contained in:
@@ -2,7 +2,7 @@ import Model, { attr } from '@ember-data/model';
|
||||
|
||||
export default class ProduktModel extends Model {
|
||||
@attr ('string') titel;
|
||||
@attr ('boolean') isSelected;
|
||||
@attr ('boolean') isselected;
|
||||
@attr ('string') kategorie;
|
||||
@attr ('number') menge;
|
||||
@attr ('string') einheit;
|
||||
@@ -10,6 +10,6 @@ export default class ProduktModel extends Model {
|
||||
|
||||
get status()
|
||||
{
|
||||
return `${this.titel} ${this.IsSelected}`
|
||||
return `${this.titel} ${this.isselected}`
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import Model, { attr, hasMany } from '@ember-data/model';
|
||||
|
||||
export default class RezeptModel extends Model {
|
||||
@attr ('string') titel;
|
||||
@attr ('boolean') isSelected;
|
||||
@attr ('boolean') isselected;
|
||||
@attr ('string') beschreibung;
|
||||
@attr ('string') kategorie;
|
||||
@attr produkte;
|
||||
|
||||
Reference in New Issue
Block a user