We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5917bf commit eea0fd0Copy full SHA for eea0fd0
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
+ wheelKeyListAllPromise.then((pWheelKeyListAllData) => {
465
+ for (const m of pWheelKeyListAllData.return[0].data.return.minions) {
466
+ minions.push(m);
467
+ }
468
+ Utils.setStorageItem("session", "minions", JSON.stringify(minions));
469
+ }, (pWheelKeyListAllMsg) => {
470
+ // never mind, don't complain
471
+ });
472
473
const minions = Utils.getStorageItemList("session", "minions");
474
for (const minionId of [...minions].sort()) {
475
const option = Utils.createElem("option");
0 commit comments