Skip to content

Commit

Permalink
#451 setting grid dimensions from modal correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
klues committed Nov 28, 2024
1 parent d370b10 commit c01a04c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vue-components/views/gridEditView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@
},
methods: {
setDimensions: function (rows, cols) {
gridInstance.setDimensions(rows, cols);
this.gridData.rowCount = rows;
this.gridData.minColumnCount = cols;
this.undoService.updateGrid(this.gridData);
},
fillGaps: function () {
gridInstance.fillGaps();
Expand Down

0 comments on commit c01a04c

Please sign in to comment.