Skip to content

Commit

Permalink
clear_notification
Browse files Browse the repository at this point in the history
  • Loading branch information
bartbutenaers committed Jun 12, 2024
1 parent 1096303 commit c6ac23b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/src/widgets/ui-notification/UINotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,10 @@ export default {
msg
})
if (this.show) {
this.close('input_msg')
if ('clear_notification' in msg) {
if (msg.clear_notification && this.show) {
this.close('input_msg')
}
} else {
this.show = true
if (this.props.displayTime > 0) {
Expand Down

0 comments on commit c6ac23b

Please sign in to comment.