aboutsummaryrefslogtreecommitdiff
path: root/src/api/Notifications/Notifications.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/Notifications/Notifications.tsx')
-rw-r--r--src/api/Notifications/Notifications.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/Notifications/Notifications.tsx b/src/api/Notifications/Notifications.tsx
index 46472ad..a6b2ccd 100644
--- a/src/api/Notifications/Notifications.tsx
+++ b/src/api/Notifications/Notifications.tsx
@@ -54,6 +54,8 @@ export interface NotificationData {
onClick?(): void;
onClose?(): void;
color?: string;
+ /** Whether this notification should not have a timeout */
+ permanent?: boolean;
}
function _showNotification(notification: NotificationData, id: number) {