Browse Source

fix: remove page rules (#1083)

pull/1098/head
Hiep Le 5 years ago
committed by Nicolas Giard
parent
commit
06aa04ff81
1 changed files with 2 additions and 2 deletions
  1. 4
      client/components/admin/admin-groups-edit-rules.vue

4
client/components/admin/admin-groups-edit-rules.vue

@ -243,8 +243,8 @@ export default {
locales: []
})
},
removeRule(rule) {
this.group.pageRules.splice(_.findIndex(this.group.pageRules, ['id', rule.id]), 1)
removeRule(ruleId) {
this.group.pageRules.splice(_.findIndex(this.group.pageRules, ['id', ruleId]), 1)
},
comingSoon() {
this.$store.commit('showNotification', {

Loading…
Cancel
Save