mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)
This commit is contained in:
@@ -83,8 +83,8 @@ const props = withDefaults(defineProps<MenuProps>(), {
|
||||
const $route = useRoute();
|
||||
|
||||
const $emit = defineEmits<{
|
||||
(event: 'select', itemId: string): void;
|
||||
(event: 'update:modelValue', itemId: string): void;
|
||||
select: [itemId: string];
|
||||
'update:modelValue': [itemId: string];
|
||||
}>();
|
||||
|
||||
const activeTab = ref(props.modelValue);
|
||||
|
||||
Reference in New Issue
Block a user