fix(docker/console): avoid resizing console when inactive EE-5370 (#10292)

pull/10910/head
matias-portainer 11 months ago committed by GitHub
parent 791c21f643
commit 7a4314032a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -151,6 +151,10 @@ angular.module('portainer.docker').controller('ContainerConsoleController', [
};
function resize(restcall, add) {
if ($scope.state != states.connected) {
return;
}
add = add || 0;
term.fit();

Loading…
Cancel
Save