mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
parent
5449523f2a
commit
7905394b26
7 changed files with 143 additions and 134 deletions
|
@ -48,7 +48,7 @@ function set(page) {
|
|||
:data-active="nav.state.page == 'explore'"
|
||||
@click="set('explore')"></span>
|
||||
<span
|
||||
class="nav-ico bi bi-graph-down clickable"
|
||||
class="nav-ico bi bi-graph-up-arrow clickable"
|
||||
:data-active="nav.state.page == 'charts'"
|
||||
@click="set('charts')"></span>
|
||||
<span
|
||||
|
|
|
@ -6,7 +6,7 @@ import SongItem from './SongItem.vue';
|
|||
import AlbumItem from './AlbumItem.vue';
|
||||
|
||||
import { getJsonPiped, getPipedQuery } from '@/scripts/fetch.js';
|
||||
import { useRoute } from '@/scripts/util.js';
|
||||
import { useRoute, useWrap } from '@/scripts/util.js';
|
||||
import { useCreatePlaylist } from '@/scripts/db.js';
|
||||
|
||||
import { useResults, useArtist } from '@/stores/results.js';
|
||||
|
@ -74,7 +74,7 @@ const shuffleAdd = () => {
|
|||
},
|
||||
getSearch = q => {
|
||||
if (q) {
|
||||
const pq = q.split(' ').join('+');
|
||||
const pq = useWrap(q);
|
||||
|
||||
history.pushState({}, '', `/search/${pq + getPipedQuery()}`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue