Skip to content

Commit 9b2e444

Browse files
committed
fix #298
1 parent ee0ba5d commit 9b2e444

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/core/src/fields/button/ButtonActionRunner.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,12 @@ export class ButtonActionRunner {
249249
}
250250

251251
async runTemplaterCreateNoteAction(action: TemplaterCreateNoteButtonAction): Promise<void> {
252-
await this.plugin.internal.createNoteWithTemplater(action.templateFile, action.folderPath, action.fileName);
252+
await this.plugin.internal.createNoteWithTemplater(
253+
action.templateFile,
254+
action.folderPath,
255+
action.fileName,
256+
action.openNote,
257+
);
253258
}
254259

255260
async runUpdateMetadataAction(action: UpdateMetadataButtonAction, filePath: string): Promise<void> {

0 commit comments

Comments
 (0)