Changeset 0.37.14 (#226)

Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
2026-03-23 16:47:48 +00:00
committed by xcaliber
parent fcb998bff9
commit b7746c3004
164 changed files with 6972 additions and 3527 deletions

View File

@@ -227,7 +227,7 @@
let url = '/api/v1/channels?page=1&per_page=12';
if (typeFilter) url += '&type=' + encodeURIComponent(typeFilter);
const resp = await sw.api.get(url);
const channels = resp.data || resp || [];
const channels = resp || [];
container.innerHTML = '';
if (!channels.length) {
@@ -385,7 +385,7 @@
async function _loadAdminCards(container) {
try {
const resp = await sw.api.get('/api/v1/admin/packages');
const packages = resp.data || resp || [];
const packages = resp || [];
container.innerHTML = '';
packages.forEach(function (pkg) {