Improved log entries for actions
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export default function embedInlineCalculations(string, calculations){
|
||||
if (!string) return '';
|
||||
let index = 0;
|
||||
return string.replace(/\{([^{}]*)\}/g, () => {
|
||||
let comp = calculations && calculations[index++];
|
||||
return comp && comp.result;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user