Skip to content

Commit

Permalink
Disable notification of successful node update
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed Jul 17, 2018
1 parent 3df7924 commit f6ab344
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions webroot/js/socket.js
Expand Up @@ -158,12 +158,7 @@ export function delEvent (to, func) {

export function sendnode(node, callback) {
sendjson({'subject':'node-system','body': node}, (msg) => {
if(msg.body){
notify.send({
'header': 'Speichern',
'type': 'success',
}, `Einstellungen für '${node.node_id}' gespeichert.`);
}else{
if(!msg.body) {
notify.send({
'header': 'Speichern',
'type': 'error',
Expand Down

0 comments on commit f6ab344

Please sign in to comment.