diff --git a/AstuteClient2/package-lock.json b/AstuteClient2/package-lock.json index be9f88f..9186569 100644 --- a/AstuteClient2/package-lock.json +++ b/AstuteClient2/package-lock.json @@ -1618,11 +1618,6 @@ "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=", "dev": true }, - "ag-grid": { - "version": "18.1.2", - "resolved": "https://registry.npmjs.org/ag-grid/-/ag-grid-18.1.2.tgz", - "integrity": "sha512-HtJt8iFcRKCBj5UHBDmwSLLr72F3XDACeBNarH4nJWFHIqcnu7u0Ifrd2nftPmfEBj6YjFHawDqcZL2yo3YfmQ==" - }, "ag-grid-angular": { "version": "21.0.1", "resolved": "https://registry.npmjs.org/ag-grid-angular/-/ag-grid-angular-21.0.1.tgz", diff --git a/AstuteClient2/package.json b/AstuteClient2/package.json index 4b12cb8..3495642 100644 --- a/AstuteClient2/package.json +++ b/AstuteClient2/package.json @@ -21,7 +21,6 @@ "@angular/platform-browser-dynamic": "^8.1.1", "@angular/router": "^8.1.1", "@ng-bootstrap/ng-bootstrap": "^5.0.0", - "ag-grid": "^18.1.2", "ag-grid-angular": "^21.0.1", "ag-grid-community": "^21.0.1", "angular2-text-mask": "^9.0.0", diff --git a/AstuteClient2/src/app/customer/customer.component.html b/AstuteClient2/src/app/customer/customer.component.html index 9c07507..cf6cebd 100644 --- a/AstuteClient2/src/app/customer/customer.component.html +++ b/AstuteClient2/src/app/customer/customer.component.html @@ -18,6 +18,7 @@ (rowDataChanged)="resizeColumns($event)" rowSelection="single" rowDeselection="true" + suppressHorizontalScroll="false" > @@ -30,15 +31,6 @@ - - - - - - - - - diff --git a/AstuteClient2/src/app/customer/customer.component.ts b/AstuteClient2/src/app/customer/customer.component.ts index 683d4d3..a189816 100644 --- a/AstuteClient2/src/app/customer/customer.component.ts +++ b/AstuteClient2/src/app/customer/customer.component.ts @@ -1,6 +1,6 @@ import {Component, OnInit} from '@angular/core'; import {AstuteClientService} from '../services/astute-client-service'; -import {ToastManagerService} from "../services/toast-manager/toast-service.service"; +import {ToastManagerService} from '../services/toast-manager/toast-service.service'; @Component({ selector: 'app-customer', @@ -184,11 +184,9 @@ export class CustomerComponent implements OnInit { this.astuteClientService.updateCustomer(id, customerData).then((data) => { if (data) { - this.refreshData(); ref.close(); - } else { - this.notif('Customer Updating Failed, Check Input Fields'); } + this.refreshData(); }, (reason) => { this.notif('Update customer failed: ' + reason); }); diff --git a/AstuteClient2/src/app/login/login.component.html b/AstuteClient2/src/app/login/login.component.html index 56f01fa..131840c 100644 --- a/AstuteClient2/src/app/login/login.component.html +++ b/AstuteClient2/src/app/login/login.component.html @@ -2,7 +2,7 @@