diff --git a/MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler+Extension.swift b/MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler+Extension.swift index 44e8a08..ff79aa7 100644 --- a/MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler+Extension.swift +++ b/MVMCore/MVMCore/AlertHandling/MVMCoreAlertHandler+Extension.swift @@ -42,6 +42,7 @@ public extension MVMCoreAlertHandler { for case let operation as MVMCoreTopAlertOperation in topAlertQueue.operations { if !operation.isCancelled, let pages = operation.topAlertObject.json?.optionalArrayForKey("pages") as? [String], + pages.count > 0, (pageType == nil || !pages.contains(pageType!)) { if operation.isExecuting { operation.reAddAfterCancel = operation.topAlertObject.persistent