diff --git a/resources/js/components/blueprints/Section.vue b/resources/js/components/blueprints/Section.vue index 95bff2294d..6b86678bdc 100644 --- a/resources/js/components/blueprints/Section.vue +++ b/resources/js/components/blueprints/Section.vue @@ -196,7 +196,7 @@ export default { editConfirmed() { if (! this.editingSection.handle) { - this.editingSection.handle = this.$slugify(this.editingSection.display, '_'); + this.editingSection.handle = snake_case(this.editingSection.display) } this.$emit('updated', {...this.section, ...this.editingSection}); diff --git a/resources/js/components/blueprints/Tab.vue b/resources/js/components/blueprints/Tab.vue index cc0d60ac13..4cdd039e4d 100644 --- a/resources/js/components/blueprints/Tab.vue +++ b/resources/js/components/blueprints/Tab.vue @@ -135,7 +135,7 @@ export default { editConfirmed() { if (! this.handle) { - this.handle = this.$slugify(this.display, '_'); + this.handle = snake_case(this.display) } this.$emit('updated', {