0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 01:42:42 +00:00

Remove extra param sent to execute()

This commit is contained in:
Trevor Buckner
2023-07-08 01:42:47 -04:00
parent 69a3d04bb7
commit 62532f788e

View File

@@ -15,8 +15,8 @@ ThemeSnippets['V3_5eDMG'] = require('themes/V3/5eDMG/snippets.js');
ThemeSnippets['V3_Journal'] = require('themes/V3/Journal/snippets.js');
ThemeSnippets['V3_Blank'] = require('themes/V3/Blank/snippets.js');
const execute = function(val, brew, params){
if(_.isFunction(val)) return val(brew, params);
const execute = function(val, props){
if(_.isFunction(val)) return val(props);
return val;
};