watcher deleted because it was causing bugs in this section
This commit is contained in:
parent
8ff2e40998
commit
c803a754d5
|
@ -4,12 +4,6 @@
|
|||
filter="{}"
|
||||
data="sales" on-data-change="$ctrl.onDataChange()">
|
||||
</vn-crud-model>
|
||||
|
||||
<vn-watcher
|
||||
vn-id="watcher"
|
||||
data="sales">
|
||||
</vn-watcher>
|
||||
|
||||
<vn-vertical>
|
||||
<vn-card pad-large>
|
||||
<vn-vertical>
|
||||
|
@ -53,10 +47,9 @@
|
|||
<vn-table model="model">
|
||||
<vn-thead>
|
||||
<vn-tr>
|
||||
<vn-th number>
|
||||
<vn-th number ng-show="$ctrl.isEditable">
|
||||
<vn-multi-check
|
||||
data="$ctrl.sales"
|
||||
disabled="!$ctrl.isEditable">
|
||||
data="$ctrl.sales">
|
||||
</vn-multi-check>
|
||||
</vn-th>
|
||||
<vn-th></vn-th>
|
||||
|
@ -71,10 +64,9 @@
|
|||
</vn-thead>
|
||||
<vn-tbody>
|
||||
<vn-tr ng-repeat="sale in sales">
|
||||
<vn-td number>
|
||||
<vn-td number ng-show="$ctrl.isEditable">
|
||||
<vn-check
|
||||
field="sale.checked"
|
||||
disabled="!$ctrl.isEditable">
|
||||
field="sale.checked">
|
||||
</vn-check>
|
||||
</vn-td>
|
||||
<vn-td>
|
||||
|
@ -140,7 +132,7 @@
|
|||
</vn-empty-rows>
|
||||
<vn-tfoot>
|
||||
<vn-tr ng-if="model.data.length > 0">
|
||||
<vn-td></vn-td>
|
||||
<vn-td ng-show="$ctrl.isEditable"></vn-td>
|
||||
<vn-td></vn-td>
|
||||
<vn-td></vn-td>
|
||||
<vn-td></vn-td>
|
||||
|
|
Loading…
Reference in New Issue