Fixes
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-03-20 09:01:14 +01:00
parent 40df1018e4
commit b998ed200c
4 changed files with 5 additions and 7 deletions

View File

@ -17,7 +17,7 @@ class Controller extends Component {
return !hasAclProperty || (hasAclProperty && this.aclService.hasAny([option.acl])); return !hasAclProperty || (hasAclProperty && this.aclService.hasAny([option.acl]));
}); });
this.$scope.moreButton.data = options; this.$.moreButton.data = options;
} }
onMoreChange(callback) { onMoreChange(callback) {
@ -89,8 +89,6 @@ class Controller extends Component {
} }
} }
Controller.$inject = ['$element', '$scope'];
ngModule.component('vnInvoiceOutDescriptor', { ngModule.component('vnInvoiceOutDescriptor', {
template: require('./index.html'), template: require('./index.html'),
bindings: { bindings: {

View File

@ -7,7 +7,7 @@
<vn-crud-model <vn-crud-model
vn-id="model" vn-id="model"
url="Orders/CatalogFilter" url="Orders/CatalogFilter"
params="{orderFk: $ctrl.$state.params.id}" params="{orderFk: $ctrl.$params.id}"
limit="50" limit="50"
data="$ctrl.items"> data="$ctrl.items">
</vn-crud-model> </vn-crud-model>

View File

@ -52,7 +52,7 @@ class Controller extends Component {
} }
showDeleteOrderDialog() { showDeleteOrderDialog() {
this.$scope.deleteOrderConfirmation.show(); this.$.deleteOrderConfirmation.show();
} }
} }

View File

@ -32,7 +32,7 @@ export default class Controller extends Section {
clone(event, zone) { clone(event, zone) {
this.stopEvent(event); this.stopEvent(event);
this.selectedZone = zone; this.selectedZone = zone;
this.$scope.clone.show(); this.$.clone.show();
} }
/** /**
@ -58,7 +58,7 @@ export default class Controller extends Section {
preview(event, zone) { preview(event, zone) {
this.stopEvent(event); this.stopEvent(event);
this.selectedZone = zone; this.selectedZone = zone;
this.$scope.summary.show(); this.$.summary.show();
} }
/** /**