File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/core/src/fields/button/actions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ export class RunTemplaterFileButtonActionConfig extends AbstractButtonActionConf
1616 async run (
1717 _config : ButtonConfig | undefined ,
1818 action : RunTemplaterFileButtonAction ,
19- _filePath : string ,
19+ filePath : string ,
2020 _context : ButtonContext ,
2121 _click : ButtonClickContext ,
2222 ) : Promise < void > {
2323 const templateFilePath = this . plugin . api . buttonActionRunner . resolveFilePath ( action . templateFile ) ;
24- void ( await this . plugin . internal . evaluateTemplaterTemplate ( templateFilePath , templateFilePath ) ) ;
24+ void ( await this . plugin . internal . evaluateTemplaterTemplate ( templateFilePath , filePath ) ) ;
2525 }
2626
2727 create ( ) : Required < RunTemplaterFileButtonAction > {
You can’t perform that action at this time.
0 commit comments