mirror of
https://github.com/Qortal/q-tube.git
synced 2025-02-11 17:55:51 +00:00
Merge pull request #67 from QortalSeth/main
Fixed bug that sometimes makes the channel page not load videos properly.
This commit is contained in:
commit
63bbf9801b
@ -41,6 +41,7 @@ export const categories = [
|
|||||||
{ id: 26, name: "Qortal" },
|
{ id: 26, name: "Qortal" },
|
||||||
{ id: 27, name: "Paranormal" },
|
{ id: 27, name: "Paranormal" },
|
||||||
{ id: 28, name: "Spirituality" },
|
{ id: 28, name: "Spirituality" },
|
||||||
|
{ id: 29, name: "Privacy" },
|
||||||
{ id: 99, name: "Other" },
|
{ id: 99, name: "Other" },
|
||||||
].sort(sortCategory);
|
].sort(sortCategory);
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ export const VideoListComponentLevel = ({ mode }: VideoListProps) => {
|
|||||||
isLoading.value = true;
|
isLoading.value = true;
|
||||||
try {
|
try {
|
||||||
const offset = videos.length;
|
const offset = videos.length;
|
||||||
const url = `/arbitrary/resources/search?mode=ALL&service=DOCUMENT&query=${QTUBE_VIDEO_BASE}_&limit=20&includemetadata=false&reverse=true&excludeblocked=true&name=${paramName}&exactmatchnames=true&offset=${offset}`;
|
const url = `/arbitrary/resources/search?mode=ALL&service=DOCUMENT&query=${QTUBE_VIDEO_BASE}&limit=20&includemetadata=false&reverse=true&excludeblocked=true&name=${paramName}&exactmatchnames=true&offset=${offset}`;
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
method: "GET",
|
method: "GET",
|
||||||
headers: {
|
headers: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user