fix: authors profile pictute all accross the SPA

This commit is contained in:
Florian Sylvain committed 2026-10-19 00:46:16 +02:00
1 parent 18600ab49d
commit 500ad59458
19 files changed
+265 -16

No files matched your search

+1 -1
View File
@@ -33,5 +33,5 @@ export function sameIds(left: Byline[], right: Byline[]) {
}
export function toBylines(authors: Byline[]): Byline[] {
return authors.map(({ id, name, slug }) => ({ id, name, slug }))
return authors.map(({ id, name, slug, avatar_id }) => ({ id, name, slug, avatar_id }))
}
+1
View File
@@ -2,4 +2,5 @@ export interface Byline {
id: number
name: string
slug: string
avatar_id?: number | null
}