ADMINUI-1988 refactor ResizeVM