Skip to content

Commit a027cbb

Browse files
committed
Fixed ngIf error in console
1 parent eee9e86 commit a027cbb

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

angular/src/app/tenants/tenants.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ import { TenantsRoutingModule } from './tenants-routing.module';
44
import { CreateTenantDialogComponent } from './create-tenant/create-tenant-dialog.component';
55
import { EditTenantDialogComponent } from './edit-tenant/edit-tenant-dialog.component';
66
import { TenantsComponent } from './tenants.component';
7+
import { CommonModule } from '@angular/common';
78

89
@NgModule({
910
declarations: [
1011
CreateTenantDialogComponent,
1112
EditTenantDialogComponent,
1213
TenantsComponent,
1314
],
14-
imports: [SharedModule, TenantsRoutingModule],
15+
imports: [SharedModule, TenantsRoutingModule, CommonModule],
1516
})
1617
export class TenantsModule {}

angular/src/app/users/users.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import { ResetPasswordDialogComponent } from './reset-password/reset-password.co
66
import { ChangePasswordComponent } from './change-password/change-password.component';
77
import { UsersRoutingModule } from './users-routing.module';
88
import { UsersComponent } from './users.component';
9+
import { CommonModule } from '@angular/common';
910

1011
@NgModule({
1112
declarations: [UsersComponent, ResetPasswordDialogComponent, EditUserDialogComponent, CreateUserDialogComponent, ChangePasswordComponent],
12-
imports: [SharedModule, UsersRoutingModule],
13+
imports: [SharedModule, UsersRoutingModule, CommonModule],
1314
})
1415
export class UsersModule {}

angular/src/shared/helpers/PrimengTableHelper.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ export class PrimengTableHelper {
6161
}
6262

6363
getMaxResultCount(paginator: Paginator, event: LazyLoadEvent): number {
64-
console.log(event)
65-
66-
console.log(paginator)
6764
if (paginator.rows) {
6865
return paginator.rows;
6966
}

0 commit comments

Comments
 (0)