fix channels
This commit is contained in:
parent
926bd25a40
commit
65bf28907e
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.1-rc.3",
|
"version": "12.119.0-calc.1-rc.4",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -54,8 +54,13 @@ import 'swiper/scss/virtual';
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
let tab = $ref('featured');
|
|
||||||
const tabs = ['featured', 'following', 'owned'];
|
const tabs = ['featured', 'following', 'owned'];
|
||||||
|
let tab = $computed({
|
||||||
|
get: () => tabs[0],
|
||||||
|
set: (x) => {
|
||||||
|
syncSlide(tabs.indexOf(x));
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
const featuredPagination = {
|
const featuredPagination = {
|
||||||
endpoint: 'channels/featured' as const,
|
endpoint: 'channels/featured' as const,
|
||||||
|
|
Loading…
Reference in New Issue