Implement fuzzy page search using fuse.js (#86)

This commit is contained in:
Mungai Njoroge
2022-09-10 10:46:45 -04:00
committed by GitHub
parent befdf383b6
commit 5770a66d67
67 changed files with 568 additions and 558 deletions
+5 -5
View File
@@ -1,13 +1,13 @@
<template>
<div v-tooltip="returnArtists()" style="width: auto;">
<div class="ellip" v-if="artists[0] !== '' && artists.length > 1">
<div v-tooltip="returnArtists()" style="width: auto">
<div class="ellip" v-if="artists[0] === '' && artists.length === 1">
<span>{{ albumartist }}</span>
</div>
<div class="ellip" v-else>
<span v-for="artist in putCommas(artists)" :key="artist">{{
artist
}}</span>
</div>
<div class="ellip" v-else>
<span>{{ albumartist }}</span>
</div>
</div>
</template>