mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
icon change
This commit is contained in:
@@ -54,9 +54,13 @@ export class JsonStore {
|
||||
.then(function () {
|
||||
WL.Logger.debug('Find all colletion data');
|
||||
console.log('Find all colletion data');
|
||||
return WL.JSONStore.get(collectionName).findAll(allOptions).then((value) => {
|
||||
var notificationData
|
||||
WL.JSONStore.get(collectionName).findAll(allOptions).then((value) => {
|
||||
console.log('Find all colletion data', value);
|
||||
notificationData = JSON.parse(value);
|
||||
});
|
||||
console.log('Notification Data', notificationData);
|
||||
return notificationData;
|
||||
}).fail(function (err) {
|
||||
WL.Logger.error(err);
|
||||
console.log("JsonStore getColletion error ",err)
|
||||
|
||||
@@ -114,7 +114,7 @@ export class NotificationsService {
|
||||
var notificationReceived = (message) => {
|
||||
this.jsonstore.createCollection('Notifications',message);
|
||||
this.jsonstore.getCollection('Notifications')
|
||||
console.log("Notification Store: ", this.jsonstore.getCollection('Notifications')[0]);
|
||||
console.log("Notification Store: ", this.jsonstore.getCollection('Notifications'));
|
||||
console.log(message);
|
||||
var data = JSON.parse(message.payload);
|
||||
console.log(data.Service);
|
||||
|
||||
Reference in New Issue
Block a user