Unable to execute a commande before parsing modules from a minion
baby-gnu opened this issue · 3 comments
Describe the bug
On a fresh installation of Alcali, I can't run a test.ping
because alcali try to run null
.
To Reproduce
Steps to reproduce the behavior:
- Having a salt-master with one or more minion
- Install a fresh alcali
- Go to
Run
menu - Click in
Target
field - Input
*
to target all minions - Click in
Function
field - Input
test.ping
- Click on
Run
button
Expected behavior
The Results
should dispaly the list of minion with True
as output.
Screenshots
Desktop (please complete the following information):
- OS: Debian Sid
- Browser Firefox
- Version 88.0.1-1
Additional context
Add any other context about the problem here.
i think the issue is around here
we definitely should not send the command if it is empty, and typing a command should behave as expected
@baby-gnu I found the problem. You have to make the combo-box lose focus before hitting run. That way the 'selectedFunction' variable in javascript gets updated.
Here is a stackoverflow post of someone with a similar issue: https://stackoverflow.com/questions/63896901/problem-with-updating-model-in-vuetify-combobox