Skip to content

Commit

Permalink
rename event update-schema to updateSchema in order to find occurrenc…
Browse files Browse the repository at this point in the history
…es easily
  • Loading branch information
TeodoraPavlova committed May 8, 2024
1 parent 3f563c3 commit c4610c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/SchemaEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default {
name: "SchemaEdit",
components: {EditAttributes, TextInput, Checkbox},
props: ["schema"],
emits: ["update-schema"],
emits: ["updateSchema"],
inject: ["availableSchemas"],
data() {
return {
Expand Down Expand Up @@ -118,7 +118,7 @@ export default {
});
if (response?.id) {
this.$router.push({name: 'schema-view', params: {schemaSlug: this.schema.slug}});
this.$emit('update-schema');
this.$emit('updateSchema');
}
},
},
Expand Down

0 comments on commit c4610c5

Please sign in to comment.