Skip to content
Snippets Groups Projects

Improve pipeline security tab filter logic

Merged Daniel Tian requested to merge 210327-fix-followup-issues into master
All threads resolved!
11 files
+ 88
92
Compare changes
  • Side-by-side
  • Inline
Files
11
@@ -83,9 +83,13 @@ export default {
this.updateRouteQuery();
},
updateRouteQuery() {
if (!this.$router) {
return;
}
const query = { query: { ...this.$route?.query, ...this.queryObject } };
// To avoid a console error, don't update the querystring if it's the same as the current one.
if (this.$router && !isEqual(this.routeQueryIds, this.queryObject[this.filter.id])) {
if (!isEqual(this.routeQueryIds, this.queryObject[this.filter.id])) {
this.$router.push(query);
}
},
Loading