disable editing if form submitted
This commit is contained in:
parent
b5ff5bd45f
commit
eabb3b7022
|
@ -40,4 +40,8 @@ tr.hover:hover > * {
|
|||
|
||||
.cursor-hand{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.hidden-keepspace{
|
||||
visibility: hidden;
|
||||
}
|
|
@ -62,7 +62,7 @@
|
|||
<td>{{dataset?.created | date:'yyyy-MM-dd HH:mm:ss Z'}}</td>
|
||||
<td>{{dataset?.status | statusToString }}</td>
|
||||
<td>
|
||||
<a *ngIf="dataset.status!=2" class="editGridColumn cursor-hand disabled" (click)="editRow(dataset, $event)">
|
||||
<a [ngClass]="{'hidden-keepspace': dataset.status==2 }" class="editGridColumn cursor-hand disabled" (click)="editRow(dataset, $event)">
|
||||
<i class="fa fa-pencil fa-fw" data-toggle="tooltip" title="edit Properties" id="editDataset"></i></a>
|
||||
<a class="editGridColumn cursor-hand" (click)="editRow(dataset, $event)">
|
||||
<i class="fa fa-eraser fa-fw" data-toggle="modal" data-target="#delete-dataset-confirm" (click)="markDatasetForDelete(dataset)" title="delete Dataset"></i></a>
|
||||
|
|
Loading…
Reference in New Issue