Skip to content

Commit

Permalink
fix: remove reactivate popup when activating NR
Browse files Browse the repository at this point in the history
  • Loading branch information
sbgap committed Mar 15, 2024
1 parent 8dced54 commit ad77641
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/components/NotificationRuleList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,9 @@ export default {
editActive(item) {
this.editedId = item.id
this.editedItem = Object.assign({}, item)
this.active_dialog = true
this.editedItem.active = !this.editedItem.active
if (this.editedItem.active) this.changeState(this.editedItem)
else this.active_dialog = true
},
editItem(item) {
this.editedId = item.id
Expand Down
4 changes: 2 additions & 2 deletions src/store/modules/notificationRule.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const state = {

pagination: {
page: 1,
rowsPerPage: 20,
rowsPerPage: 15,
sortBy: 'startTime',
descending: true,
rowsPerPageItems: [10, 20, 50, 100, 200]
rowsPerPageItems: [10, 15, 30, 50, 100, 200]
}
}

Expand Down

0 comments on commit ad77641

Please sign in to comment.