diff --git a/client/components/admin/admin-groups-edit-rules.vue b/client/components/admin/admin-groups-edit-rules.vue index 4d0ac565..3f8c62d9 100644 --- a/client/components/admin/admin-groups-edit-rules.vue +++ b/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', {