Merge pull request '3961-fix(monitor_client): fix scroll' (#962) from 3961-monitor_clients_fix into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #962
Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
Joan Sanchez 2022-05-03 12:31:43 +00:00
commit d99d2f1e50
3 changed files with 19 additions and 8 deletions

View File

@ -46,11 +46,13 @@
</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

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