Commit 06aa04ff authored by Hiep Le's avatar Hiep Le Committed by Nicolas Giard

fix: remove page rules (#1083)

parent 3b0cef90
...@@ -243,8 +243,8 @@ export default { ...@@ -243,8 +243,8 @@ export default {
locales: [] locales: []
}) })
}, },
removeRule(rule) { removeRule(ruleId) {
this.group.pageRules.splice(_.findIndex(this.group.pageRules, ['id', rule.id]), 1) this.group.pageRules.splice(_.findIndex(this.group.pageRules, ['id', ruleId]), 1)
}, },
comingSoon() { comingSoon() {
this.$store.commit('showNotification', { this.$store.commit('showNotification', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment