mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: donot remove account, domain from query on public ip filter change (#11575)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
9349b69b7e
commit
3ffd444294
@ -1723,10 +1723,12 @@ export default {
|
|||||||
const query = Object.assign({}, this.$route.query)
|
const query = Object.assign({}, this.$route.query)
|
||||||
delete query.templatefilter
|
delete query.templatefilter
|
||||||
delete query.isofilter
|
delete query.isofilter
|
||||||
delete query.account
|
|
||||||
delete query.domainid
|
|
||||||
delete query.state
|
delete query.state
|
||||||
delete query.annotationfilter
|
delete query.annotationfilter
|
||||||
|
if (!['publicip'].includes(this.$route.name)) {
|
||||||
|
delete query.account
|
||||||
|
delete query.domainid
|
||||||
|
}
|
||||||
if (this.$route.name === 'template') {
|
if (this.$route.name === 'template') {
|
||||||
query.templatefilter = filter
|
query.templatefilter = filter
|
||||||
} else if (this.$route.name === 'iso') {
|
} else if (this.$route.name === 'iso') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user