mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-25 13:23:42 +00:00
Merge branch 'charts-no-reset' into 'develop'
Don't reset grouped aggregate form if the selected table is the same one See merge request baserow/baserow!3239
This commit is contained in:
commit
1ffb165241
1 changed files with 10 additions and 8 deletions
|
@ -323,14 +323,16 @@ export default {
|
||||||
return aggType.getName()
|
return aggType.getName()
|
||||||
},
|
},
|
||||||
changeTableId(tableId) {
|
changeTableId(tableId) {
|
||||||
this.values.table_id = tableId
|
if (this.values.table_id !== tableId) {
|
||||||
this.values.view_id = null
|
this.values.table_id = tableId
|
||||||
this.values.aggregation_series = [
|
this.values.view_id = null
|
||||||
{ field_id: null, aggregation_type: '' },
|
this.values.aggregation_series = [
|
||||||
]
|
{ field_id: null, aggregation_type: '' },
|
||||||
this.values.aggregation_group_bys = []
|
]
|
||||||
this.values.aggregation_sorts = []
|
this.values.aggregation_group_bys = []
|
||||||
this.v$.values.table_id.$touch()
|
this.values.aggregation_sorts = []
|
||||||
|
this.v$.values.table_id.$touch()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async addSeries() {
|
async addSeries() {
|
||||||
this.setEmitValues(false)
|
this.setEmitValues(false)
|
||||||
|
|
Loading…
Add table
Reference in a new issue