From 535b543ccc77ca1d3b4ef85107ebba3105def228 Mon Sep 17 00:00:00 2001 From: ushahidlee <152860706+ushahidlee@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:02:22 +0100 Subject: [PATCH] Bug fixed (#1474) --- .../src/app/post/post-edit/post-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web-mzima-client/src/app/post/post-edit/post-edit.component.ts b/apps/web-mzima-client/src/app/post/post-edit/post-edit.component.ts index e9ceac9f8f..cceedbbb80 100644 --- a/apps/web-mzima-client/src/app/post/post-edit/post-edit.component.ts +++ b/apps/web-mzima-client/src/app/post/post-edit/post-edit.component.ts @@ -678,7 +678,7 @@ export class PostEditComponent extends BaseComponent implements OnInit, OnChange throw new Error(`Error updating caption: ${error.message}`); } } else { - value.value = this.form.value[field.key]?.id || null; + value.value = this.form.value[field.key]?.id || []; } break; case 'image':