connectors formating logs
This commit is contained in:
parent
880e1b32da
commit
12ab38d7d1
@ -58,7 +58,7 @@
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="syncStatus">
|
||||
<mat-header-cell *matHeaderCellDef mat-sort-header style="width: 30%">
|
||||
{{ 'gateway.connectors-table-status' | translate }}
|
||||
{{ 'gateway.configuration' | translate }}
|
||||
</mat-header-cell>
|
||||
<mat-cell *matCellDef="let attribute" style="text-transform: uppercase">
|
||||
<div
|
||||
@ -166,7 +166,7 @@
|
||||
fxFlex
|
||||
fxLayout="column"
|
||||
required
|
||||
label="{{ 'gateway.connector-json' | translate }}"
|
||||
label="{{ 'gateway.configuration' | translate }}"
|
||||
formControlName="configurationJson">
|
||||
</tb-json-object-edit>
|
||||
<div fxLayoutAlign="start center">
|
||||
|
||||
@ -165,6 +165,7 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie
|
||||
} else if (sortHeaderId === 'enabled') {
|
||||
return this.activeConnectors.includes(data.key) ? 1 : 0;
|
||||
}
|
||||
console.log(data, sortHeaderId, data[sortHeaderId] || data.value[sortHeaderId]);
|
||||
return data[sortHeaderId] || data.value[sortHeaderId];
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user