From e91104286ca3838e51ba2ead9ac1c9d25de9cf42 Mon Sep 17 00:00:00 2001 From: Ryan Slatten Date: Tue, 17 Dec 2024 19:54:11 -0700 Subject: [PATCH] Fix cancel button --- .../projects/main/src/lib/arc-admin/arc-admin.component.html | 4 ++-- .../projects/main/src/lib/arc-admin/arc-admin.component.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.html b/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.html index 17de770c0..d09362254 100644 --- a/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.html +++ b/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.html @@ -83,8 +83,8 @@

ArcGIS Configuration

- + @@ -798,8 +798,8 @@

Attributes Configuration

- + diff --git a/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.ts b/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.ts index a927819f1..33717ff32 100644 --- a/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.ts +++ b/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.ts @@ -299,6 +299,7 @@ export class ArcAdminComponent implements OnInit { cancelEdit() { console.log('Canceled configuration edit') + this.editConfig = this.copyConfig(); } keys(value: any): string[] {