mirror of https://github.com/portainer/portainer
fix(docker/console): avoid resizing console when inactive EE-5370 (#10292)
parent
791c21f643
commit
7a4314032a
|
@ -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…
Reference in New Issue