fix: cant run procedures with parameters from leftbar

This commit is contained in:
Fabio Di Stasio 2022-09-07 18:18:15 +02:00
parent 40cb4dd98d
commit efe134a059
1 changed files with 1 additions and 1 deletions

View File

@ -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);