latenighttales / alcali

Featureful Saltstack GUI
https://alcali.dev
MIT License
356 stars 61 forks source link

Attempting to add custom Minion Fields undefined in function #426

Closed SGA-max-faxalv closed 2 years ago

SGA-max-faxalv commented 2 years ago

Alcali Version: 3000.1.0

Describe the bug Attempting to add a custom "Minion Field" always results in the function being "undefined".

To Reproduce Steps to reproduce the behavior:

  1. Go to Settings
  2. Parse modules from a machine
  3. Attempt add a custom minion field "test1" with "grains.get test1" as function.
  4. Reload page. Function is now "undefined".

Expected behavior Expected function to not be "undefined".

Screenshots bild

Additional context Likely similar to https://github.com/latenighttales/alcali/issues/417 in that the dropdown/input does not correctly update its value.