change router link setup for text-block component
This commit is contained in:
parent
3278437d29
commit
73f42613ce
1 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue