Skip to content

Commit ccbe109

Browse files
committed
fixed stock list is empty in sometimes by delaying the smart table load untill the warehouse is selected
1 parent 029fc7a commit ccbe109

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/Modules/SimplCommerce.Module.Inventory/wwwroot/admin/stock

src/Modules/SimplCommerce.Module.Inventory/wwwroot/admin/stock/stock-form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h2>{{::vm.translate.get('Stock management')}}</h2>
1616
</div>
1717
</div>
1818

19-
<table class="table table-striped" st-pipe="vm.getStocks" st-table="vm.stocks">
19+
<table ng-if="vm.selectedWarehouseId" class="table table-striped" st-pipe="vm.getStocks" st-table="vm.stocks">
2020
<thead>
2121
<tr>
2222
<th>{{::vm.translate.get('Product Name')}}</th>

0 commit comments

Comments
 (0)