Merge branch 'feature/queue-entity' of github.com:YevhenBondarenko/thingsboard into feature/queue-entity

This commit is contained in:
YevhenBondarenko 2022-05-06 21:23:03 +02:00
commit 4120705956
3 changed files with 36 additions and 35 deletions

View File

@ -130,12 +130,8 @@ export class TenantProfileQueuesComponent implements ControlValueAccessor, Valid
});
}
public trackByQueue(index: number, queueControl: AbstractControl): string {
if (queueControl) {
return queueControl.value.id;
} else {
return null;
}
public trackByQueue(index: number, queueControl: AbstractControl) {
return queueControl;
}
public removeQueue(index: number) {

View File

@ -68,6 +68,7 @@
<div class="tb-hint">{{'tenant.isolated-tb-rule-engine-details' | translate}}</div>
</mat-checkbox>
</div>
<div class="expansion-panel-block">
<mat-accordion formGroupName="profileData" multi>
<mat-expansion-panel [expanded]="true" *ngIf="entityForm.get('isolatedTbRuleEngine').value">
<mat-expansion-panel-header>
@ -97,6 +98,7 @@
</ng-template>
</mat-expansion-panel>
</mat-accordion>
</div>
<mat-form-field class="mat-block">
<mat-label translate>tenant-profile.description</mat-label>
<textarea matInput formControlName="description" rows="2"></textarea>

View File

@ -35,4 +35,7 @@
width: fit-content;
}
}
.expansion-panel-block {
padding-bottom: 16px;
}
}