CASH-1502: create .prettierignore file and fix extra space on link

This commit is contained in:
AdamCaouetteSafelite 2025-09-09 20:01:03 -04:00
parent 8f0c522cf2
commit aec494ce87
2 changed files with 6 additions and 8 deletions

2
.prettierignore Normal file
View file

@ -0,0 +1,2 @@
# Ignore certain files
**/ux-components/text-link/text-link.vue

View file

@ -1,8 +1,7 @@
<template>
<loadingModal v-if="useLoadingModal" notFullScreen ref="loadingModal" />
<a v-if="linkType === 'navigation'" @click="handleClick" class="navigation-link" :href="href">
{{ text }}
<slot name="after-text"></slot>
{{ text }}<slot name="after-text"></slot><!-- must remain on same line -->
</a>
<a
v-else-if="linkType === 'newWindowLink'"
@ -10,16 +9,13 @@
class="new-window-link"
:href="href"
target="_blank">
{{ text }}
<slot name="after-text"></slot>
{{ text }}<slot name="after-text"></slot><!-- must remain on same line -->
</a>
<a v-else-if="linkType === 'textSmall'" @click="handleClick" class="small" :href="href">
{{ text }}
<slot name="after-text"></slot>
{{ text }}<slot name="after-text"></slot><!-- must remain on same line -->
</a>
<a v-else-if="linkType === 'text'" @click="handleClick" :href="href">
{{ text }}
<slot name="after-text"></slot>
{{ text }}<slot name="after-text"></slot><!-- must remain on same line -->
</a>
</template>