fix(monitor_client): fix scroll
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-05-03 14:08:46 +02:00
parent 951ef60806
commit f364c19c70
3 changed files with 19 additions and 8 deletions

View File

@ -46,12 +46,14 @@
</div>
</vn-horizontal>
<div id="table"></div>
<div ng-transclude="pagination">
<vn-pagination
ng-if="$ctrl.model"
model="$ctrl.model"
class="vn-pt-md">
</vn-pagination>
</div>
</div>
<vn-confirm
vn-id="deleteConfirmation"

View File

@ -497,7 +497,8 @@ ngModule.vnComponent('smartTable', {
controller: SmartTable,
transclude: {
table: '?slotTable',
actions: '?slotActions'
actions: '?slotActions',
pagination: '?slotPagination'
},
bindings: {
model: '<?',

View File

@ -88,8 +88,16 @@
</td>
</tr>
</tbody>
<table>
<slot-table>
</table>
</slot-table>
<slot-pagination>
<vn-pagination
model="model"
class="vn-pt-xs"
scroll-selector="vn-monitor-sales-clients smart-table"
scroll-offset="100">
</vn-pagination>
</slot-pagination>
</smart-table>
</vn-card>
<vn-worker-descriptor-popover