🪻 distributed transcription service thistle.dunkirk.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

+4 -2
+2 -1
src/components/admin-transcriptions.ts
··· 194 194 throw new Error(data.error || "Failed to load transcriptions"); 195 195 } 196 196 197 - this.transcriptions = await response.json(); 197 + const result = await response.json(); 198 + this.transcriptions = result.data || result; 198 199 } catch (err) { 199 200 this.error = 200 201 err instanceof Error
+2 -1
src/components/admin-users.ts
··· 324 324 throw new Error(data.error || "Failed to load users"); 325 325 } 326 326 327 - this.users = await response.json(); 327 + const result = await response.json(); 328 + this.users = result.data || result; 328 329 } catch (err) { 329 330 this.error = 330 331 err instanceof Error