diff --git a/apps/frontend/src/components/cards/controltable/ControlRowCol.vue b/apps/frontend/src/components/cards/controltable/ControlRowCol.vue index 809ad4d751..5c6d74a018 100644 --- a/apps/frontend/src/components/cards/controltable/ControlRowCol.vue +++ b/apps/frontend/src/components/cards/controltable/ControlRowCol.vue @@ -79,11 +79,13 @@ export default class ControlRowCol extends mixins(HtmlSanitizeMixin) { // Check if either `skip_message` or `message` exist // If one but not the other exists, display the individual message // Otherwise display both messages in a joint string - return this.result.skip_message - ? this.result.message + if (this.result.skip_message) { + return this.result.message ? `-Message-\n${this.result.message}\n\n-Skip Message-\n${this.result.skip_message}` - : this.result.skip_message - : this.result.message; + : this.result.skip_message; + } else { + return this.result.message; + } } }