mirror of
https://github.com/IliesAllali/parenthese.git
synced 2026-11-18 16:52:11 +00:00
Immich : publier l'origine du portrait dans le graphe, pas l'identifiant
- avatarFromImmich (fichier préfixé « immich- ») remplace immichPersonId côté front : le panneau ne propose le retrait que si le portrait vient d'Immich, et le bouton de la fiche retrouve son libellé distinctif - helper isImmichAvatarPath partagé entre le payload du graphe et la route unassign, qui testaient le préfixe chacun de son côté - tests : origine du portrait dans le payload (vrai/faux/null) Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
1 parent
8d36a08b11
commit
310f2fb597
10 files changed
+50
-12
No files matched your search
@@ -57,6 +57,7 @@ export function adaptGraphForGalaxy(apiGraph, _treeId) {
|
||||
birthDate: p.birthDate,
|
||||
deathDate: p.deathDate,
|
||||
photo: p.avatarUrlPath ? `/api${p.avatarUrlPath}` : null,
|
||||
avatarFromImmich: Boolean(p.avatarFromImmich),
|
||||
frameType: 'round', // Default
|
||||
}))
|
||||
|
||||
|
||||
Reference in new issue
Block a user