- 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:
Shiny Nematoda 2022-10-22 06:27:21 +00:00
parent 335f548219
commit edb618b3f5
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
12 changed files with 487 additions and 422 deletions

View file

@ -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,