mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
update track interface to follow server updates
+ add search debounce time
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<div class="np-artist ellip">
|
||||
<span
|
||||
v-for="artist in putCommas(
|
||||
queue.currenttrack?.artists || ['♥ Hello ♥']
|
||||
queue.currenttrack?.artist || ['♥ Hello ♥']
|
||||
)"
|
||||
>
|
||||
{{ artist }}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="tags">
|
||||
<div class="title ellip">{{ track?.title || "Don't click here" }}</div>
|
||||
<div class="artist ellip" v-if="track">
|
||||
<span v-for="artist in putCommas(track.artists)" :key="artist">{{
|
||||
<span v-for="artist in putCommas(track.artist)" :key="artist">{{
|
||||
artist
|
||||
}}</span>
|
||||
</div>
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { onMounted } from "vue";
|
||||
import QueueSvg from "../../assets/icons/queue.svg";
|
||||
import SearchSvg from "../../assets/icons/search.svg";
|
||||
import useSearchStore from "../../stores/search";
|
||||
import useTabStore from "../../stores/tabs";
|
||||
import QueueSvg from "@/assets/icons/queue.svg";
|
||||
import SearchSvg from "@/assets/icons/search.svg";
|
||||
import useSearchStore from "@/stores/search";
|
||||
import useTabStore from "@/stores/tabs";
|
||||
|
||||
const search = useSearchStore();
|
||||
const tabs = useTabStore();
|
||||
|
||||
Reference in New Issue
Block a user