mirror of https://github.com/Fabio286/antares.git
fix: cant run procedures with parameters from leftbar
This commit is contained in:
parent
40cb4dd98d
commit
efe134a059
|
@ -217,7 +217,7 @@ const runElementCheck = () => {
|
|||
};
|
||||
|
||||
const runElement = (params: string[]) => {
|
||||
if (props.selectedMisc.type === 'procedure')
|
||||
if (['procedure', 'routine'].includes(props.selectedMisc.type))
|
||||
runRoutine(params);
|
||||
else if (props.selectedMisc.type === 'function')
|
||||
runFunction(params);
|
||||
|
|
Loading…
Reference in New Issue