Skip to content

Commit

Permalink
chore(version): update to version 'v0.9.5'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Jun 20, 2023
2 parents 830c7cc + cf0721a commit 4a7dbbb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=0.9.4
version=0.9.5
micronautVersion=3.9.0
lombokVersion=1.18.26
32 changes: 27 additions & 5 deletions ui/src/components/home/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@
};
},
methods: {
loadQuery(base) {
let queryFilter = this.$route.query;
loadQuery(base, stats) {
let queryFilter = _cloneDeep(this.$route.query);
if (this.selectedNamespace) {
queryFilter["namespace"] = this.selectedNamespace;
Expand Down Expand Up @@ -243,10 +243,32 @@
}
},
onNamespaceSelect(namespace) {
this.$router.push({
query: {...this.$route.query, namespace}
});
if(namespace !== ""){
this.$router.push({
query: {...this.$route.query, namespace}
});
} else {
let query = _cloneDeep(this.$route.query);
delete query["namespace"];
this.$router.push({
query: {...query}
});
}
},
onDateChange(dates) {
if(dates.startDate && dates.endDate) {
this.$router.push({
query: {...this.$route.query, ...{startDate: dates.startDate, endDate: dates.endDate}}
});
} else {
let query = _cloneDeep(this.$route.query);
delete query["startDate"];
delete query["endDate"];
this.$router.push({
query: {...query}
});
}
}
},
computed: {
...mapState("stat", ["daily", "dailyGroupByFlow"]),
Expand Down

0 comments on commit 4a7dbbb

Please sign in to comment.