We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 161167f commit 883956cCopy full SHA for 883956c
1 file changed
saltgui/static/scripts/CommandBox.js
@@ -459,6 +459,17 @@ export class CommandBox {
459
targetList.appendChild(option);
460
}
461
462
+ if (Utils.getStorageItem("session", "minions", "N/A") === "N/A") {
463
+ const wheelKeyListAllPromise = pApi.getWheelKeyListAll();
464
+ /* eslint-disable no-unused-vars */
465
+ wheelKeyListAllPromise.then((pWheelKeyListAllData) => {
466
+ const minions = pWheelKeyListAllData.return[0].data.return.minions;
467
+ Utils.setStorageItem("session", "minions", JSON.stringify(minions));
468
+ }, (pWheelKeyListAllMsg) => {
469
+ // VOID
470
+ });
471
+ /* eslint-enable no-unused-vars */
472
+ }
473
const minions = Utils.getStorageItemList("session", "minions");
474
for (const minionId of [...minions].sort()) {
475
const option = Utils.createElem("option");
0 commit comments