CASH-1502: create .prettierignore file and fix extra space on link
This commit is contained in:
parent
8f0c522cf2
commit
aec494ce87
2 changed files with 6 additions and 8 deletions
2
.prettierignore
Normal file
2
.prettierignore
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Ignore certain files
|
||||
**/ux-components/text-link/text-link.vue
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue