mirror of
https://github.com/modrinth/code.git
synced 2026-09-04 22:10:15 +00:00
hotfix
This commit is contained in:
@@ -93,7 +93,7 @@ export abstract class AbstractWebNotificationManager {
|
|||||||
|
|
||||||
if (notification.autoCloseMs === null) return
|
if (notification.autoCloseMs === null) return
|
||||||
|
|
||||||
const delay = notification.autoCloseMs ?? DEFAULT_AUTO_DISMISS_DELAY_MS
|
const delay = notification.autoCloseMs ?? this.DEFAULT_AUTO_DISMISS_DELAY_MS
|
||||||
|
|
||||||
notification.timer = setTimeout(() => {
|
notification.timer = setTimeout(() => {
|
||||||
this.removeNotification(notification.id)
|
this.removeNotification(notification.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user