[LAD Tables] Persist view modified configuration (#6637)

* chore: bump version to `2.2.2` (#6615)

* persisting lad configuration in the view when it changes

---------

Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
This commit is contained in:
Jamie V 2023-05-02 16:19:23 -07:00 committed by GitHub
parent 1bbc3789ec
commit fe677fa359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,10 @@ export default {
};
},
toggleFixedLayout() {
this.configuration.isFixedLayout = !this.configuration.isFixedLayout;
const config = structuredClone(this.configuration);
config.isFixedLayout = !this.configuration.isFixedLayout;
this.ladTableConfiguration.updateConfiguration(config);
},
initializeViewActions() {
if (this.configuration.isFixedLayout) {