File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
plugins/arcgis/web-app/projects/main/src/lib/arc-admin Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ <h1>ArcGIS Configuration</h1>
8383 </ div >
8484 </ mat-card-content >
8585 < mat-card-actions >
86- < button mat-button matDialogClose (click) ="cancelEdit() "> CANCEL</ button >
8786 < button mat-flat-button color ="primary " matDialogClose (click) ="saveEdit() "> SAVE</ button >
87+ < button mat-button matDialogClose (click) ="cancelEdit() "> CANCEL</ button >
8888 </ mat-card-actions >
8989 </ mat-card >
9090 < arc-layer [config] ="config " (configChanged) ="configChanged($event) "> </ arc-layer >
@@ -798,8 +798,8 @@ <h2 matDialogTitle>Attributes Configuration</h2>
798798 </ div >
799799 </ mat-dialog-content >
800800 < mat-dialog-actions align ="end ">
801- < button mat-button matDialogClose (click) ="cancelEdit() "> CANCEL</ button >
802801 < button mat-flat-button color ="primary " matDialogClose (click) ="saveEdit() "> SAVE</ button >
802+ < button mat-button matDialogClose (click) ="cancelEdit() "> CANCEL</ button >
803803 </ mat-dialog-actions >
804804</ ng-template >
805805< ng-template #deleteFieldDialog let-data >
Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ export class ArcAdminComponent implements OnInit {
299299
300300 cancelEdit ( ) {
301301 console . log ( 'Canceled configuration edit' )
302+ this . editConfig = this . copyConfig ( ) ;
302303 }
303304
304305 keys ( value : any ) : string [ ] {
You can’t perform that action at this time.
0 commit comments