From 3aa9fe23510159b8002a0b29740cd4243624077a Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Mon, 25 Mar 2024 10:19:17 +0100 Subject: [PATCH] [Minor] Always show errors with info title --- .../src/main/webapp/app/src/behaviors/c-app-behavior.html | 2 +- .../src/main/webapp/app/src/behaviors/c-app-behavior.html | 2 +- .../src/main/webapp/app/src/behaviors/c-app-behavior.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/strolch.mvn.archetype.plc/src/main/resources/archetype-resources/__rootArtifactId__-plc-web/src/main/webapp/app/src/behaviors/c-app-behavior.html b/strolch.mvn.archetype.plc/src/main/resources/archetype-resources/__rootArtifactId__-plc-web/src/main/webapp/app/src/behaviors/c-app-behavior.html index 84016ef..64c139a 100644 --- a/strolch.mvn.archetype.plc/src/main/resources/archetype-resources/__rootArtifactId__-plc-web/src/main/webapp/app/src/behaviors/c-app-behavior.html +++ b/strolch.mvn.archetype.plc/src/main/resources/archetype-resources/__rootArtifactId__-plc-web/src/main/webapp/app/src/behaviors/c-app-behavior.html @@ -86,7 +86,7 @@ if (e.detail.title != null) dlgTitle = e.detail.title; else - dlgTitle = e.detail.isError ? 'errorOccurred' : 'info'; + dlgTitle = 'info'; var dlgText; if (e.detail.text) dlgText = e.detail.text; diff --git a/strolch.mvn.archetype.plc/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/app/src/behaviors/c-app-behavior.html b/strolch.mvn.archetype.plc/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/app/src/behaviors/c-app-behavior.html index 84016ef..64c139a 100644 --- a/strolch.mvn.archetype.plc/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/app/src/behaviors/c-app-behavior.html +++ b/strolch.mvn.archetype.plc/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/app/src/behaviors/c-app-behavior.html @@ -86,7 +86,7 @@ if (e.detail.title != null) dlgTitle = e.detail.title; else - dlgTitle = e.detail.isError ? 'errorOccurred' : 'info'; + dlgTitle = 'info'; var dlgText; if (e.detail.text) dlgText = e.detail.text; diff --git a/strolch.mvn.archetype.webapp/src/main/resources/archetype-resources/src/main/webapp/app/src/behaviors/c-app-behavior.html b/strolch.mvn.archetype.webapp/src/main/resources/archetype-resources/src/main/webapp/app/src/behaviors/c-app-behavior.html index 84016ef..64c139a 100644 --- a/strolch.mvn.archetype.webapp/src/main/resources/archetype-resources/src/main/webapp/app/src/behaviors/c-app-behavior.html +++ b/strolch.mvn.archetype.webapp/src/main/resources/archetype-resources/src/main/webapp/app/src/behaviors/c-app-behavior.html @@ -86,7 +86,7 @@ if (e.detail.title != null) dlgTitle = e.detail.title; else - dlgTitle = e.detail.isError ? 'errorOccurred' : 'info'; + dlgTitle = 'info'; var dlgText; if (e.detail.text) dlgText = e.detail.text;