1
0
Fork 0
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:
Petr Stribny 2025-03-12 03:50:00 +01:00
parent ecf96b5cc8
commit 2f7e965837

View file

@ -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)