fixex pull request
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Bernat Exposito Domenech 2020-03-25 08:43:49 +01:00
parent 423f59dfb0
commit dcdae825d2
2 changed files with 3 additions and 11 deletions

View File

@ -1 +1 @@
<vn-log url="WorkerLogs" origin-id="$ctrl.$stateParams.id"></vn-log>
<vn-log url="WorkerLogs" origin-id="$ctrl.$params.id"></vn-log>

View File

@ -1,15 +1,7 @@
import ngModule from '../module';
class Controller {
constructor($scope, $stateParams) {
this.$scope = $scope;
this.$stateParams = $stateParams;
}
}
Controller.$inject = ['$scope', '$stateParams'];
import Section from 'salix/components/section';
ngModule.component('vnWorkerLog', {
template: require('./index.html'),
controller: Controller,
controller: Section,
});