Skip to content

Commit 0407629

Browse files
committed
ui: donot remove account, domain from query on public ip filter change
Currently, when changing filter on public IP view (Free, Reserved, Allocated) it removes the account and domain values from query. This PR prevents that as public IP view filters have no relation with account/domain. Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 973b333 commit 0407629

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,8 +1723,10 @@ 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
1726+
if (!['publicip'].includes(this.$route.name)) {
1727+
delete query.account
1728+
delete query.domainid
1729+
}
17281730
delete query.state
17291731
delete query.annotationfilter
17301732
if (this.$route.name === 'template') {

0 commit comments

Comments
 (0)