Skip to content

Commit

Permalink
Merge pull request #599 from giedriusramas/master
Browse files Browse the repository at this point in the history
Update RuleView.vue only string starting with _rules should replace
  • Loading branch information
nsano-rururu committed Dec 15, 2023
2 parents 1b5802c + 02d5dd2 commit 3736363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/RuleView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export default {
async move() {
let newPath = await this.$store.dispatch('configs/moveConfig', {
oldConfig: this.$store.getters['config/config'](),
newPath: this.moveDest.replace(/_rules/, ''),
newPath: this.moveDest.replace(/^_rules/, ''),
type: 'rules'
});
Expand Down

0 comments on commit 3736363

Please sign in to comment.