File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
packages/root-cms/ui/utils Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @blinkk/root-cms ' : patch
3
+ ---
4
+
5
+ fix: resize sheet request
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export class GSpreadsheet {
63
63
}
64
64
65
65
async createSheet ( options : { title : string } ) {
66
- console . log ( this . spreadsheetId ) ;
66
+ console . log ( 'createSheet' , this . spreadsheetId ) ;
67
67
const res = await gapi . client . sheets . spreadsheets . batchUpdate ( {
68
68
spreadsheetId : this . spreadsheetId ,
69
69
resource : {
@@ -442,6 +442,7 @@ export class GSheet {
442
442
requests . push ( {
443
443
updateSheetProperties : {
444
444
properties : {
445
+ sheetId : this . gid ,
445
446
gridProperties : { columnCount : options . numCols } ,
446
447
} ,
447
448
fields : 'gridProperties.columnCount' ,
@@ -452,6 +453,7 @@ export class GSheet {
452
453
requests . push ( {
453
454
updateSheetProperties : {
454
455
properties : {
456
+ sheetId : this . gid ,
455
457
gridProperties : { rowCount : options . numRows } ,
456
458
} ,
457
459
fields : 'gridProperties.rowCount' ,
You can’t perform that action at this time.
0 commit comments