Skip to content

Commit

Permalink
feature: fixes after review [WTEL-4246]
Browse files Browse the repository at this point in the history
  • Loading branch information
lizacoma committed Mar 27, 2024
1 parent 5f9695b commit ea6dd12
Showing 1 changed file with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,13 @@ export default {
value: event,
}));
},
event: {
get() {
const { event } = this.itemInstance;
return event ? {
name: this.$t(`objects.ccenter.teams.hooks.eventTypes.${this.snakeToCamel(event)}`),
value: event,
} : {};
},
set({ value }) {
this.setItemProp({ prop: 'event', value });
},
},
event() {
const { event } = this.itemInstance;
return event ? {
name: this.$t(`objects.ccenter.teams.hooks.eventTypes.${this.snakeToCamel(event)}`),
value: event,
} : {};
}
},
methods: {
Expand Down

0 comments on commit ea6dd12

Please sign in to comment.