File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ const iconProps = computed(() => typeof props.icon === 'string'
6767 }"
6868 v-bind =" linkData"
6969 :target =" target"
70- @click.stop =" onClick"
70+ @click.stop =" onClick($event) "
7171 >
7272 <template
7373 v-if =" ! dsfrIcon && (icon || iconAttrs ?.name ) && ! iconRight "
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ const iconProps = computed(() => (dsfrIcon.value || !props.icon)
3636 data-testid =" nav-external-link"
3737 :href =" (to as string)"
3838 @click =" $emit('toggleId', id)"
39+ @click.stop =" onClick($event)"
3940 >
4041 {{ text }}
4142 </a >
@@ -48,6 +49,7 @@ const iconProps = computed(() => (dsfrIcon.value || !props.icon)
4849 [String(icon)]: dsfrIcon,
4950 }"
5051 @click =" $emit('toggleId', id)"
52+ @click.stop =" onClick($event)"
5153 >
5254 <VIcon
5355 v-if =" icon && iconProps"
You can’t perform that action at this time.
0 commit comments