From 918dff407d912b3a5ac068e0050467396668163c Mon Sep 17 00:00:00 2001 From: pujashahu Date: Thu, 11 Sep 2025 19:10:27 +0530 Subject: [PATCH] mgr/dashboard: Form retains old data when switching from edit to create mode Fixes: https://tracker.ceph.com/issues/72989 Signed-off-by: pujashahu --- .../rgw/rgw-notification-form/rgw-notification-form.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-notification-form/rgw-notification-form.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-notification-form/rgw-notification-form.component.ts index c800a948ad1..f1bbfb56cad 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-notification-form/rgw-notification-form.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-notification-form/rgw-notification-form.component.ts @@ -109,7 +109,6 @@ export class RgwNotificationFormComponent extends CdForm implements OnInit { } ngOnInit() { - this.editing = !!this.selectedNotification; this.s3KeyFilterValue = Object.values(s3KeyFilter); this.filterSettings.s3Key.options = this.s3KeyFilterValue; this.createNotificationForm(); -- 2.39.5