We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78bfdc7 commit ef77b7dCopy full SHA for ef77b7d
packages/core/src/fields/button/actions/RunTemplaterFileButtonActionConfig.ts
@@ -20,7 +20,8 @@ export class RunTemplaterFileButtonActionConfig extends AbstractButtonActionConf
20
_context: ButtonContext,
21
_click: ButtonClickContext,
22
): Promise<void> {
23
- await this.plugin.internal.evaluateTemplaterTemplate(action.templateFile, action.templateFile);
+ const templateFilePath = this.plugin.api.buttonActionRunner.resolveFilePath(action.templateFile);
24
+ void await this.plugin.internal.evaluateTemplaterTemplate(templateFilePath, templateFilePath);
25
}
26
27
create(): Required<RunTemplaterFileButtonAction> {
0 commit comments