From 245da190b359cd880c1e5596fdb695cae50b16cf Mon Sep 17 00:00:00 2001 From: SondreB Date: Sun, 20 Oct 2024 10:56:05 +0200 Subject: [PATCH] Fix bug where labels was reset on Text edit --- app/src/app/apps/app/text/text.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/app/apps/app/text/text.component.ts b/app/src/app/apps/app/text/text.component.ts index 1770673c..2b46f3fe 100644 --- a/app/src/app/apps/app/text/text.component.ts +++ b/app/src/app/apps/app/text/text.component.ts @@ -254,7 +254,7 @@ export class TextComponent implements OnDestroy { abstract: entry.data.abstract, background: entry.data.background, collaborators: [], - labels: [''], + labels: entry.data.labels, published: entry.record ? entry.record.published : entry.data.published, image: entry.data.image, };