Commit 53a9390e authored by frankiejol's avatar frankiejol
Browse files

refactor(frontend): vars have to be declared now

parent f8fc6201
......@@ -3006,7 +3006,7 @@ sub exposed_port($self, $search, $value=undef) {
if ( $search =~ /^\d+$/ ) {
return $port if $port->{internal_port} eq $search;
} else {
return $port if $port->{name} eq $search;
return $port if defined $port->{name} && $port->{name} eq $search;
}
}
return;
......
......@@ -563,7 +563,7 @@
})
).then(function(response) {
// if there are many , we pick the last one
id_request = response.data.request;
var id_request = response.data.request;
subscribe_request(id_request, function(data) {
$scope.$apply(function () {
$scope.copy_request=data;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment