You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-csc/app/store/CallForwardTimeset.js

27 lines
600 B

Ext.define('NgcpCsc.store.CallForwardTimeset', {
extend: 'Ext.data.Store',
storeId: 'CallForwardTimeset',
model: 'NgcpCsc.model.CallForwardTimeset',
autoLoad: true,
proxy: {
type: 'ngcp-api',
route: 'cftimesets',
params: 'subscriber_id=' + localStorage.getItem('subscriber_id'),
actionMethods: {
read: 'GET',
update: 'PATCH'
}
},
listeners: {
load: function(store, recs) {
this.fireEvent('cfTimesetStoreLoaded', this, recs[0].data._embedded['ngcp:cftimesets']);
}
}
});