Merge branch 'feature/queue-entity' of github.com:YevhenBondarenko/thingsboard into feature/queue-entity
This commit is contained in:
commit
4120705956
@ -130,12 +130,8 @@ export class TenantProfileQueuesComponent implements ControlValueAccessor, Valid
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public trackByQueue(index: number, queueControl: AbstractControl): string {
|
public trackByQueue(index: number, queueControl: AbstractControl) {
|
||||||
if (queueControl) {
|
return queueControl;
|
||||||
return queueControl.value.id;
|
|
||||||
} else {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public removeQueue(index: number) {
|
public removeQueue(index: number) {
|
||||||
|
|||||||
@ -68,6 +68,7 @@
|
|||||||
<div class="tb-hint">{{'tenant.isolated-tb-rule-engine-details' | translate}}</div>
|
<div class="tb-hint">{{'tenant.isolated-tb-rule-engine-details' | translate}}</div>
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="expansion-panel-block">
|
||||||
<mat-accordion formGroupName="profileData" multi>
|
<mat-accordion formGroupName="profileData" multi>
|
||||||
<mat-expansion-panel [expanded]="true" *ngIf="entityForm.get('isolatedTbRuleEngine').value">
|
<mat-expansion-panel [expanded]="true" *ngIf="entityForm.get('isolatedTbRuleEngine').value">
|
||||||
<mat-expansion-panel-header>
|
<mat-expansion-panel-header>
|
||||||
@ -97,6 +98,7 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</mat-expansion-panel>
|
</mat-expansion-panel>
|
||||||
</mat-accordion>
|
</mat-accordion>
|
||||||
|
</div>
|
||||||
<mat-form-field class="mat-block">
|
<mat-form-field class="mat-block">
|
||||||
<mat-label translate>tenant-profile.description</mat-label>
|
<mat-label translate>tenant-profile.description</mat-label>
|
||||||
<textarea matInput formControlName="description" rows="2"></textarea>
|
<textarea matInput formControlName="description" rows="2"></textarea>
|
||||||
|
|||||||
@ -35,4 +35,7 @@
|
|||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.expansion-panel-block {
|
||||||
|
padding-bottom: 16px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user