mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
refactor(editor): Rename $emits to emits where we use defineEmits (no-changelog) (#9959)
This commit is contained in:
@@ -35,7 +35,7 @@ const props = withDefaults(defineProps<NoticeProps>(), {
|
||||
fullContent: '',
|
||||
});
|
||||
|
||||
const $emit = defineEmits<{
|
||||
const emit = defineEmits<{
|
||||
action: [key: string];
|
||||
}>();
|
||||
|
||||
@@ -75,7 +75,7 @@ const onClick = (event: MouseEvent) => {
|
||||
} else if (canTruncate.value && anchorKey === 'toggle-expand') {
|
||||
showFullContent.value = !showFullContent.value;
|
||||
} else {
|
||||
$emit('action', anchorKey);
|
||||
emit('action', anchorKey);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user