diff --git a/ui/components/notification/index.js b/ui/components/notification/index.js
index 18b402d72..851df28f5 100644
--- a/ui/components/notification/index.js
+++ b/ui/components/notification/index.js
@@ -22,7 +22,7 @@ export default class Notification {
}
static show({
- avatar, title, message, type = 'info', duration = 3000,
+ avatar, title, message, type, duration = 3000,
actionButtons = [],
}) {
if (duration && lastNotification) {
@@ -33,9 +33,8 @@ export default class Notification {
if (title) $(tpl`${title} `).appendTo($dom);
$(tpl`${message}`).appendTo($dom);
actionButtons.forEach((button) => {
- $(tpl``).appendTo($dom);
+ $(tpl``).appendTo($dom);
});
- console.log($dom);
const $n = $dom
.css('z-index', zIndexManager.getNext())
.appendTo('body');