mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
6649b7d7f1
Also part of this change: * Handle the notification cooldown periods using status changes rather than emptying the queue * Refactor how notifications are rendered
19 lines
455 B
JavaScript
19 lines
455 B
JavaScript
'use strict';
|
|
|
|
import { alt } from '../alt';
|
|
|
|
class GlobalNotificationActions {
|
|
constructor() {
|
|
this.generateActions(
|
|
'appendGlobalNotification',
|
|
'showNextGlobalNotification',
|
|
'shiftGlobalNotification',
|
|
'cooldownGlobalNotifications',
|
|
'pauseGlobalNotifications',
|
|
'resumeGlobalNotifications'
|
|
);
|
|
}
|
|
}
|
|
|
|
export default alt.createActions(GlobalNotificationActions);
|