improve web notification format

pull/27/head
Oliver Giles 6 years ago
parent d7351c0c70
commit 6e4c89bd73

@ -533,7 +533,9 @@ new Vue({
}, },
showNotify(msg, data) { showNotify(msg, data) {
if(this.notify && msg === 'job_completed') if(this.notify && msg === 'job_completed')
new Notification(data.name + ' ' + '#' + data.number +' completed'); new Notification('Job ' + data.result, {
body: data.name + ' ' + '#' + data.number + ': ' + data.result
});
} }
}, },
watch: { watch: {

Loading…
Cancel
Save