Skip to content

Commit c0d7cd0

Browse files
committed
fix(arc-saas): review changes
review changes GH-34
1 parent 8455eac commit c0d7cd0

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

projects/saas-ui/src/app/main/components/button-renderer/button-renderer.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ import {BillingPlanService} from '../../../shared/services/billing-plan-service'
77
import {AddPlanComponent} from '../add-plan/add-plan.component';
88
import {FormBuilder, Validators} from '@angular/forms';
99
import {Location} from '@angular/common';
10+
import {AnyObject} from '@project-lib/core/api';
1011
@Component({
1112
selector: 'app-button-renderer',
1213
templateUrl: './button-renderer.component.html',
1314
styleUrls: ['./button-renderer.component.scss'],
1415
})
1516
export class ButtonRendererComponent implements ICellRendererAngularComp {
16-
params: any;
17+
params: AnyObject;
1718
gridApi: GridApi;
18-
addPlanForm: any;
19+
addPlanForm: AnyObject;
1920
constructor(
2021
private readonly router: Router,
2122
private toastrService: ToasterService,

projects/saas-ui/src/app/main/components/lead-list/lead-list.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class LeadListComponent extends RouteComponentBaseDirective {
5858
};
5959
}
6060

61-
onGridReady(params: any) {
61+
onGridReady(params: AnyObject) {
6262
this.gridApi = params.api;
6363
const dataSource: IDatasource = {
6464
getRows: (params: IGetRowsParams) => {
@@ -79,7 +79,7 @@ export class LeadListComponent extends RouteComponentBaseDirective {
7979
params.api.setDatasource(dataSource);
8080
}
8181

82-
getPaginatedLeads(page: number, limit: number): Observable<any[]> {
82+
getPaginatedLeads(page: number, limit: number): Observable<AnyObject[]> {
8383
const filter: BackendFilter<Lead> = {
8484
offset: limit * (page - 1),
8585
limit: limit,

projects/saas-ui/src/app/main/components/manage-plans/manage-plans.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class ManagePlansComponent extends RouteComponentBaseDirective {
9090
params.api.setDatasource(dataSource);
9191
}
9292

93-
getPaginatedPlans(page: number, limit: number): Observable<any[]> {
93+
getPaginatedPlans(page: number, limit: number): Observable<AnyObject[]> {
9494
const filter: BackendFilter<Plan> = {
9595
offset: limit * (page - 1),
9696
limit: limit,

projects/saas-ui/src/app/main/components/onboarding-tenant-list/onboarding-tenant-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class OnboardingTenantListComponent extends RouteComponentBaseDirective {
117117
this.gridApi.updateGridOptions({datasource: dataSource});
118118
}
119119

120-
getPaginatedTenants(page: number, limit: number): Observable<any[]> {
120+
getPaginatedTenants(page: number, limit: number): Observable<AnyObject[]> {
121121
const filter: BackendFilter<Tenant> = {
122122
offset: limit * (page - 1),
123123
limit: limit,

projects/saas-ui/src/app/main/styles/grid-styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.card-style {
1414
width: 100%;
1515
overflow: auto;
16-
height: calc(100vh - 120px);
16+
height: calc(100vh - 120px);
1717
}
1818
.ag-theme-quartz {
1919
width: 100%;

0 commit comments

Comments
 (0)