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