SFJS 0.3.7, sync exception event

This commit is contained in:
Mo Bitar
2018-07-23 08:59:44 -05:00
parent e4da258d46
commit 4ffb4c4ae7
3 changed files with 6 additions and 4 deletions

View File

@@ -89,6 +89,8 @@ angular.module('app')
if(syncEvent == "sync-session-invalid") {
alert("Your session has expired. New changes will not be pulled in. Please sign out and sign back in to refresh your session.");
} else if(syncEvent == "sync-exception") {
alert(`There was an error while trying to save your items. Please contact support and share this message: ${data}`);
}
});

6
package-lock.json generated
View File

@@ -9353,9 +9353,9 @@
"dev": true
},
"standard-file-js": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/standard-file-js/-/standard-file-js-0.3.6.tgz",
"integrity": "sha512-GhowAiZBWXxwjVJMUbq4I6ovFB2l3jSE5lLgJ56Md5l/AKlNuJwDJdoTuOfUE+FTw0Lv+P37Uk3O5FaduuiO7g==",
"version": "0.3.7",
"resolved": "https://registry.npmjs.org/standard-file-js/-/standard-file-js-0.3.7.tgz",
"integrity": "sha512-X6jwJ0UAy+G/i+JGzLjbEaW6BqRB2dHnZ/KPYR0gTUULacPnMuCjOciBleeC8tvMP5Lolsd0TMQlpNaiH1YEsg==",
"dev": true
},
"statuses": {

View File

@@ -37,7 +37,7 @@
"karma-jasmine": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.2",
"sn-stylekit": "1.0.15",
"standard-file-js": "0.3.6",
"standard-file-js": "0.3.7",
"sn-models": "0.1.1",
"connect": "^3.6.6",
"mocha": "^5.2.0",