mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-16 00:00:03 +01:00

The list of properties of an entity is clickable and redirects to the detailed view of the property (not programmed yet). The routes have changed (renamed lab-mashup to entities). The layout has changed and is work in progress. The data model has changed. Properties have an own model and are connected via relationships to the entity model.
15 lines
326 B
JavaScript
15 lines
326 B
JavaScript
import Ember from 'ember';
|
|
import DS from 'ember-data';
|
|
|
|
export default DS.Model.extend({
|
|
type: DS.attr('string'),
|
|
properties: DS.hasMany('property'),
|
|
|
|
/*poll: function() {
|
|
var _this = this;
|
|
Ember.run.later( function() {
|
|
_this.reload();
|
|
_this.poll();
|
|
}, 1000);
|
|
}.on('didLoad')*/
|
|
});
|