Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Hu <[email protected]>
  • Loading branch information
charleshu-8 committed Jul 29, 2024
1 parent 33cfbee commit 11bd361
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
</script>
Expand Down

0 comments on commit 11bd361

Please sign in to comment.