From e883599701ea7a1b62148f7dbdda4e1ba0d3f1e7 Mon Sep 17 00:00:00 2001 From: ArneBo Date: Tue, 1 Apr 2025 11:46:51 +0200 Subject: [PATCH] fix(front): correct actor type and copy button for full username in profile --- front/src/locales/en_GB.json | 3 ++- front/src/types.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/front/src/locales/en_GB.json b/front/src/locales/en_GB.json index 97881409f..48aa99ed3 100644 --- a/front/src/locales/en_GB.json +++ b/front/src/locales/en_GB.json @@ -1200,7 +1200,8 @@ "copy": "Copy" }, "message": { - "success": "Text copied to clipboard!" + "success": "Text copied to clipboard!", + "fail": "Failed to copy text to clipboard, maybe your browser doesn't support this feature." } }, "DangerousButton": { diff --git a/front/src/types.ts b/front/src/types.ts index eca0a547e..b46f873b7 100644 --- a/front/src/types.ts +++ b/front/src/types.ts @@ -46,7 +46,7 @@ export type ContentCategory = 'podcast' | 'music' // Use backend-defined schema types -export type Actor = components['schemas']['APIActor'] +export type Actor = components['schemas']['FullActor'] export type Activity = components['schemas']['Activity'] export type Album = components['schemas']['Album'] export type ArtistCredit = components['schemas']['ArtistCredit']