always show detail page icon when task is selected

This commit is contained in:
MaysWind 2019-02-20 23:27:06 +08:00
parent 6d4e47a8cf
commit 767cdd9f08
2 changed files with 2 additions and 2 deletions

View file

@ -110,7 +110,7 @@
margin-top: -12px;
}
.task-table .row:hover .task-right-arrow {
.task-table .row:hover .task-right-arrow, .task-table .row[data-selected=true] .task-right-arrow {
visibility: visible;
}

View file

@ -34,7 +34,7 @@
</div>
<div class="task-table-body" ng-class="{'draggable': isSupportDragTask()}" dragula="'task-list'" dragula-model="taskContext.list">
<div class="row pointer-cursor" ng-repeat="task in taskContext.list | filter: filterByTaskName | taskOrderBy: getOrderType()"
data-gid="{{task.gid}}" data-toggle="context" data-target="#task-table-contextmenu"
data-gid="{{task.gid}}" data-selected="{{!!taskContext.selected[task.gid]}}" data-toggle="context" data-target="#task-table-contextmenu"
ng-click="taskContext.selected[task.gid] = !taskContext.selected[task.gid]">
<div class="col-md-8 col-sm-7 col-xs-12">
<div class="checkbox checkbox-primary" ng-class="{'checkbox-hide': !taskContext.selected[task.gid]}">