HOTFIX: Added pagination

This commit is contained in:
Joan Sanchez 2021-07-02 13:10:46 +02:00
parent 52e6c9d793
commit eeb9a1861e
1 changed files with 6 additions and 3 deletions

View File

@ -2,13 +2,16 @@
auto-load="true" auto-load="true"
vn-id="model" vn-id="model"
url="Entries/{{$ctrl.$params.id}}/getBuys" url="Entries/{{$ctrl.$params.id}}/getBuys"
data="$ctrl.buys"> data="$ctrl.buys"
limit="1">
</vn-crud-model> </vn-crud-model>
<vn-watcher <vn-watcher
vn-id="watcher" vn-id="watcher"
data="$ctrl.buys"> data="$ctrl.buys">
</vn-watcher> </vn-watcher>
<div class="vn-w-xl"> <vn-data-viewer
model="model"
class="vn-w-xl">
<vn-card class="vn-pa-lg"> <vn-card class="vn-pa-lg">
<div class="tableWrapper"> <div class="tableWrapper">
<vn-horizontal class="header"> <vn-horizontal class="header">
@ -191,7 +194,7 @@
</div> </div>
</div> </div>
</vn-card> </vn-card>
</div> </vn-data-viewer>
<div fixed-bottom-right> <div fixed-bottom-right>
<vn-vertical style="align-items: center;"> <vn-vertical style="align-items: center;">
<a ui-sref="entry.card.buy.import" <a ui-sref="entry.card.buy.import"