mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 20:58:01 +02:00
Changes:
- Added Blur (Light) theme, Closes #62 - Support Changing Default Tab (related to #56) - Link to Piped, Closes #48 - Continuations for albums (related to #46) - Support for recently added languages
This commit is contained in:
parent
335f548219
commit
edb618b3f5
12 changed files with 487 additions and 422 deletions
|
@ -9,7 +9,8 @@ import { useRoute } from '@/scripts/util.js';
|
|||
export const useResults = defineStore('results', () => {
|
||||
const items = ref({}),
|
||||
search = ref(''),
|
||||
chartsId = ref('');
|
||||
chartsId = ref(''),
|
||||
next = ref('');
|
||||
|
||||
function setItem(key, val) {
|
||||
items.value[key] = val;
|
||||
|
@ -65,12 +66,16 @@ export const useResults = defineStore('results', () => {
|
|||
|
||||
useRoute(e);
|
||||
useNav().state.page = 'home';
|
||||
|
||||
if (json.nextpage)
|
||||
next.value = hash + '?nextpage=' + encodeURIComponent(json.nextpage);
|
||||
}
|
||||
|
||||
return {
|
||||
items,
|
||||
search,
|
||||
chartsId,
|
||||
next,
|
||||
setItem,
|
||||
resetItems,
|
||||
getExplore,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue