mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
fix: cant run procedures with parameters from leftbar
This commit is contained in:
@ -217,7 +217,7 @@ const runElementCheck = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const runElement = (params: string[]) => {
|
const runElement = (params: string[]) => {
|
||||||
if (props.selectedMisc.type === 'procedure')
|
if (['procedure', 'routine'].includes(props.selectedMisc.type))
|
||||||
runRoutine(params);
|
runRoutine(params);
|
||||||
else if (props.selectedMisc.type === 'function')
|
else if (props.selectedMisc.type === 'function')
|
||||||
runFunction(params);
|
runFunction(params);
|
||||||
|
Reference in New Issue
Block a user