mirror of
https://github.com/Qortal/q-tube.git
synced 2025-02-11 09:45: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: 27, name: "Paranormal" },
|
||||
{ id: 28, name: "Spirituality" },
|
||||
{ id: 29, name: "Privacy" },
|
||||
{ id: 99, name: "Other" },
|
||||
].sort(sortCategory);
|
||||
|
||||
|
@ -33,7 +33,7 @@ export const VideoListComponentLevel = ({ mode }: VideoListProps) => {
|
||||
isLoading.value = true;
|
||||
try {
|
||||
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, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user