System views updated
This commit is contained in:
+2
-2
@@ -6,12 +6,12 @@
|
||||
</mat-form-field>
|
||||
</div>
|
||||
|
||||
<div #configurationsTable class="mat-elevation-z8">
|
||||
<div #configurationsTable class="mat-elevation-z8 m-b-10">
|
||||
<table mat-table [dataSource]="dataSource" matSort>
|
||||
<ng-container matColumnDef="name">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'labels.inputs.name' | translate }}</th>
|
||||
<td mat-cell *matCellDef="let configuration">
|
||||
{{ configuration.name }}
|
||||
<span class="m-r-10">{{ configuration.name }}</span>
|
||||
<fa-icon
|
||||
*ngIf="configuration.description"
|
||||
icon="question-circle"
|
||||
|
||||
-9
@@ -1,12 +1,3 @@
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// TODO: CONFIGURE THESE CLASSES GLOBALLY
|
||||
.enabled {
|
||||
color: #32cd32;
|
||||
}
|
||||
|
||||
.disabled {
|
||||
color: #f44366;
|
||||
}
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ export class GlobalConfigurationsTabComponent implements OnInit, AfterViewInit {
|
||||
*/
|
||||
toggleStatus(configuration: any) {
|
||||
this.systemService
|
||||
.updateConfiguration(configuration.id, { enabled: !configuration.enabled })
|
||||
.updateConfiguration(configuration.id, { enabled: configuration.enabled })
|
||||
.subscribe((response: any) => {
|
||||
configuration.enabled = response.changes.enabled;
|
||||
if (configuration.name === SettingsService.businessDateConfigName) {
|
||||
|
||||
Reference in New Issue
Block a user