Skip to content

Commit 3ffd444

Browse files
authored
ui: donot remove account, domain from query on public ip filter change (#11575)
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 9349b69 commit 3ffd444

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ui/src/views/AutogenView.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,10 +1723,12 @@ export default {
17231723
const query = Object.assign({}, this.$route.query)
17241724
delete query.templatefilter
17251725
delete query.isofilter
1726-
delete query.account
1727-
delete query.domainid
17281726
delete query.state
17291727
delete query.annotationfilter
1728+
if (!['publicip'].includes(this.$route.name)) {
1729+
delete query.account
1730+
delete query.domainid
1731+
}
17301732
if (this.$route.name === 'template') {
17311733
query.templatefilter = filter
17321734
} else if (this.$route.name === 'iso') {

0 commit comments

Comments
 (0)