Skip to content

Commit 182aed9

Browse files
committed
fix(excel): default workbook sessions to temporary
1 parent d58fd71 commit 182aed9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/sim/blocks/blocks/microsoft_excel.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ function normalizeExcelAgentParams(params: Record<string, unknown>, separateShee
8080
'sortAscending',
8181
'showHeaders',
8282
'showTotals',
83-
'persistChanges',
8483
'rowHidden',
8584
'columnHidden',
8685
])
@@ -119,6 +118,7 @@ function normalizeExcelAgentParams(params: Record<string, unknown>, separateShee
119118
optionalBoolean(params.sortHasHeaders) ??
120119
optionalBoolean(params.hasHeaders)
121120
result.matchCase = optionalBoolean(params.sortMatchCase) ?? optionalBoolean(params.matchCase)
121+
result.persistChanges = optionalBoolean(params.persistChanges) ?? false
122122
result.address = separateSheet
123123
? sheetName && range
124124
? `${quoteSheetName(sheetName)}!${range}`
@@ -1672,6 +1672,7 @@ Return ONLY the JSON array - no explanations, no markdown, no extra text.`,
16721672
type: 'switch',
16731673
condition: { field: 'operation', value: ['create_session'] },
16741674
required: true,
1675+
defaultValue: false,
16751676
},
16761677
{
16771678
id: 'calculationType',

0 commit comments

Comments
 (0)