Browse Source

Update find-tenant-result-dto.ts

pull/4956/head
Levent Arman Özak 6 years ago
committed by GitHub
parent
commit
e73ceb766f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      npm/ng-packs/packages/core/src/lib/models/find-tenant-result-dto.ts

8
npm/ng-packs/packages/core/src/lib/models/find-tenant-result-dto.ts

@ -5,11 +5,9 @@ export class FindTenantResultDto {
name: string;
constructor(initialValues: Partial<FindTenantResultDto> = {}) {
if (initialValues) {
for (const key in initialValues) {
if (initialValues.hasOwnProperty(key)) {
this[key] = initialValues[key];
}
for (const key in initialValues) {
if (initialValues.hasOwnProperty(key)) {
this[key] = initialValues[key];
}
}
}

Loading…
Cancel
Save