mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-21 20:12:53 +00:00
Don't reset grouped aggregate form if the selected table is the same one
This commit is contained in:
parent
ecf96b5cc8
commit
2f7e965837
1 changed files with 10 additions and 8 deletions
|
@ -323,6 +323,7 @@ export default {
|
||||||
return aggType.getName()
|
return aggType.getName()
|
||||||
},
|
},
|
||||||
changeTableId(tableId) {
|
changeTableId(tableId) {
|
||||||
|
if (this.values.table_id !== tableId) {
|
||||||
this.values.table_id = tableId
|
this.values.table_id = tableId
|
||||||
this.values.view_id = null
|
this.values.view_id = null
|
||||||
this.values.aggregation_series = [
|
this.values.aggregation_series = [
|
||||||
|
@ -331,6 +332,7 @@ export default {
|
||||||
this.values.aggregation_group_bys = []
|
this.values.aggregation_group_bys = []
|
||||||
this.values.aggregation_sorts = []
|
this.values.aggregation_sorts = []
|
||||||
this.v$.values.table_id.$touch()
|
this.v$.values.table_id.$touch()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async addSeries() {
|
async addSeries() {
|
||||||
this.setEmitValues(false)
|
this.setEmitValues(false)
|
||||||
|
|
Loading…
Add table
Reference in a new issue