UI: Fix move VM out of a project (#6010)

* Fix move VM out of a project

* Improve
This commit is contained in:
Nicolas Vazquez 2022-02-20 21:51:25 -03:00 committed by GitHub
parent 50955432d4
commit e662535dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ service.interceptors.request.use(config => {
if (!config.params.projectid && project && project.id) {
if (config.params.command === 'listTags') {
config.params.projectid = '-1'
} else {
} else if (config.params.command !== 'assignVirtualMachine') {
config.params.projectid = project.id
}
}