(notification)
| 67 | }, |
| 68 | |
| 69 | async showNotification (notification) { |
| 70 | const message = await this.renderMessage(notification.templateName || "notification", notification); |
| 71 | |
| 72 | new NotificationFx({ |
| 73 | message, |
| 74 | layout: "growl", |
| 75 | effect: this.config.effect, |
| 76 | ttl: notification.timer || this.config.display_time |
| 77 | }).show(); |
| 78 | }, |
| 79 | |
| 80 | async showAlert (alert, sender) { |
| 81 | // If module already has an open alert close it |