Disable notification of successful node update

This commit is contained in:
Martin/Geno 2018-07-17 23:13:51 +02:00
parent 140f11257a
commit af80ade82b
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 1 additions and 6 deletions

View File

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