diff --git a/public/js/components/Betriebsmittel/Betriebsmittel.js b/public/js/components/Betriebsmittel/Betriebsmittel.js index b34e3b8ec..ba2b4275c 100644 --- a/public/js/components/Betriebsmittel/Betriebsmittel.js +++ b/public/js/components/Betriebsmittel/Betriebsmittel.js @@ -265,7 +265,7 @@ export default { .catch(this.$fhcAlert.handleSystemError); }, template: ` -
+
diff --git a/public/js/components/Notiz/Notiz.js b/public/js/components/Notiz/Notiz.js index 12cd27ddb..bff0ad6c7 100644 --- a/public/js/components/Notiz/Notiz.js +++ b/public/js/components/Notiz/Notiz.js @@ -30,9 +30,13 @@ export default { notizLayout: { type: String, default: 'twoColumnsFormLeft', - validator(value, props) { + validator(value) { // TODO(chris): modal version - return ['classicFas', 'twoColumnsFormRight', 'twoColumnsFormLeft'].includes(value) + return [ + 'classicFas', + 'twoColumnsFormRight', + 'twoColumnsFormLeft' + ].includes(value) } }, showErweitert: Boolean, @@ -470,7 +474,7 @@ export default { } }, template: ` -
+
@@ -1021,7 +1025,8 @@ export default {
-

Kein Layout übergeben

+

Falsches Layout übergeben: {{notizLayout}}

+

Kein Layout übergeben

`, } \ No newline at end of file