From c806c68d57d4fbddfff4711e6855e678e81f3946 Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Sat, 31 Aug 2024 21:52:58 +0200 Subject: [PATCH] Fix error modal dismissal --- src/navigation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/navigation.js b/src/navigation.js index 1e011e8..9140346 100644 --- a/src/navigation.js +++ b/src/navigation.js @@ -190,7 +190,8 @@ function showError(cfg = {}) { } // use default error template if not passed as a configuration _.defaultsDeep(cfg, { - template: defaults.templates.error + template: defaults.templates.error, + type: 'modal' }); console.log('showing error... options:', cfg);