Skip to content
Snippets Groups Projects
Commit 74f3e4ba authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #11269 TIME 0:10 fix css + move actions button in indexing models

parent e75935e3
No related branches found
No related tags found
No related merge requests found
...@@ -153,6 +153,7 @@ export class IndexingModelAdministrationComponent implements OnInit { ...@@ -153,6 +153,7 @@ export class IndexingModelAdministrationComponent implements OnInit {
tap((data: any) => { tap((data: any) => {
this.indexingForm.setModification(); this.indexingForm.setModification();
this.setModification(); this.setModification();
this.router.navigate(['/administration/indexingModels']);
this.notify.success(this.lang.indexingModelUpdated); this.notify.success(this.lang.indexingModelUpdated);
}), }),
finalize(() => this.loading = false), finalize(() => this.loading = false),
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
[cdkDragData]="field"> [cdkDragData]="field">
<div class="fieldLabel"> <div class="fieldLabel">
<i class="fas fa-bars fa-2x" color="primary" style="cursor: move" cdkDragHandle></i>&nbsp; <i class="fas fa-bars fa-2x" color="primary" style="cursor: move" cdkDragHandle></i>&nbsp;
{{field.label}}
<button mat-icon-button [matMenuTriggerFor]="fieldActions" *ngIf="!field.system"> <button mat-icon-button [matMenuTriggerFor]="fieldActions" *ngIf="!field.system">
<mat-icon class="fa fa-ellipsis-v" color="secondary"></mat-icon> <mat-icon class="fa fa-ellipsis-v" color="secondary"></mat-icon>
</button> </button>
...@@ -30,7 +31,7 @@ ...@@ -30,7 +31,7 @@
<mat-icon class="fa fa-trash" color="warn"></mat-icon> <mat-icon class="fa fa-trash" color="warn"></mat-icon>
<span>{{lang.delete}}</span> <span>{{lang.delete}}</span>
</button> </button>
</mat-menu>{{field.label}} </mat-menu>
</div> </div>
<div class="fieldInput"> <div class="fieldInput">
<ng-container *ngIf="field.type === 'string'"> <ng-container *ngIf="field.type === 'string'">
......
...@@ -49,6 +49,10 @@ ...@@ -49,6 +49,10 @@
.fieldLabel { .fieldLabel {
color: #4A4A4A; color: #4A4A4A;
.cdk-drag-handle {
margin-right: 10px;
}
} }
.fieldState { .fieldState {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment