]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Form retains old data when switching from edit to create mode
authorpujashahu <pshahu@redhat.com>
Thu, 11 Sep 2025 13:40:27 +0000 (19:10 +0530)
committerpujashahu <pshahu@redhat.com>
Thu, 11 Sep 2025 13:47:19 +0000 (19:17 +0530)
Fixes: https://tracker.ceph.com/issues/72989
Signed-off-by: pujashahu <pshahu@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-notification-form/rgw-notification-form.component.ts

index c800a948ad1439c4ffefeba31b5d19c6d5b09729..f1bbfb56cad7d053a4278944e8ad32fc955b0091 100644 (file)
@@ -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();