🪻 distributed transcription service thistle.dunkirk.sh

fix: handle paginated responses in admin components

Admin transcriptions and users components now extract data from paginated
response format { data: [...], pagination: {...} } with fallback to direct
array for backward compatibility.

dunkirk.sh a02cf8f5 21fa1d2c

verified
Changed files
+4 -2
src
+2 -1
src/components/admin-transcriptions.ts
···
throw new Error(data.error || "Failed to load transcriptions");
}
-
this.transcriptions = await response.json();
+
const result = await response.json();
+
this.transcriptions = result.data || result;
} catch (err) {
this.error =
err instanceof Error
+2 -1
src/components/admin-users.ts
···
throw new Error(data.error || "Failed to load users");
}
-
this.users = await response.json();
+
const result = await response.json();
+
this.users = result.data || result;
} catch (err) {
this.error =
err instanceof Error