change router link setup for text-block component

This commit is contained in:
Katie Kroell 2024-01-23 16:45:20 -05:00
parent 3278437d29
commit 73f42613ce

View file

@ -6,12 +6,11 @@
v-for="copy in splitCopyOnCMSPlaceHolder(textBlockCopy)" v-for="copy in splitCopyOnCMSPlaceHolder(textBlockCopy)"
:key="copy"> :key="copy">
<span v-if="doesCopyContainRouterLink(copy)"> <span v-if="doesCopyContainRouterLink(copy)">
<textLink <routerLink
linkType="text" :to="{
:text="getRouterLinkDisplayTextFromCopy(copy)" query: { issPage: `${getRouterLinkRouteFromCopy(copy)}` },
href="javascript:void(0)" name: 'root',
useLoadingModal }">{{ getRouterLinkDisplayTextFromCopy(copy) }}</routerLink>
@click-event="navigateWithScenario(getRouterLinkRouteFromCopy(copy))" />
</span> </span>
<span v-else-if="doesCopyContainTextLink(copy)"> <span v-else-if="doesCopyContainTextLink(copy)">
<textLink <textLink