Skip to content

Commit

Permalink
Treat ISA 18.2 UNACK and RTNUN as Open to allow ACKing and SHELVing a…
Browse files Browse the repository at this point in the history
…s well (#526)
  • Loading branch information
jjdmol committed Mar 7, 2023
1 parent 6363df2 commit cc181c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AlertActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default {
return this.$store.getters.getPreference('isDark')
},
isOpen(status) {
return this.status == 'open' || this.status == 'NORM'
return this.status == 'open' || this.status == 'NORM' || this.status == 'UNACK' || this.status == 'RTNUN'
},
isAcked() {
return this.status == 'ack' || this.status == 'ACKED'
Expand Down
2 changes: 1 addition & 1 deletion src/components/AlertDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ export default {
this.$store.dispatch('alerts/getNotes', this.id)
},
isOpen(status) {
return status == 'open' || status == 'NORM'
return status == 'open' || status == 'NORM' || status == 'UNACK' || status == 'RTNUN'
},
isWatched(tags) {
const tag = `watch:${this.username}`
Expand Down
2 changes: 1 addition & 1 deletion src/components/AlertList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ export default {
}
},
isOpen(status) {
return status == 'open' || status == 'NORM'
return status == 'open' || status == 'NORM' || status == 'UNACK' || status == 'RTNUN'
},
isWatched(tags) {
return tags ? tags.indexOf(`watch:${this.username}`) > -1 : false
Expand Down

0 comments on commit cc181c6

Please sign in to comment.