Use message image for notifications
This commit is contained in:
parent
dcc8ea6b4c
commit
e141553e3e
|
|
@ -29,7 +29,7 @@ dispatcher.register((data) => {
|
||||||
|
|
||||||
const notify = new Notify(msg.title, {
|
const notify = new Notify(msg.title, {
|
||||||
body: msg.message,
|
body: msg.message,
|
||||||
icon: '/static/favicon.ico',
|
icon: msg.image,
|
||||||
notifyClick: closeAndFocus,
|
notifyClick: closeAndFocus,
|
||||||
notifyShow: closeAfterTimeout,
|
notifyShow: closeAfterTimeout,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue