Skip to content

Commit 2c08e2c

Browse files
shwstpprdhslove
authored andcommitted
ui: donot remove account, domain from query on public ip filter change (apache#11575)
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 9041a24 commit 2c08e2c

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
@@ -2194,11 +2194,13 @@ export default {
21942194
const query = Object.assign({}, this.$route.query)
21952195
delete query.templatefilter
21962196
delete query.isofilter
2197-
delete query.account
2198-
delete query.domainid
21992197
delete query.state
22002198
delete query.annotationfilter
22012199
delete query.leased
2200+
if (!['publicip'].includes(this.$route.name)) {
2201+
delete query.account
2202+
delete query.domainid
2203+
}
22022204
if (this.$route.name === 'template') {
22032205
query.templatefilter = filter
22042206
} else if (this.$route.name === 'iso') {

0 commit comments

Comments
 (0)