Reset docker images correctly when changing egg; closes #2895

This commit is contained in:
Dane Everitt
2020-12-25 15:43:44 -08:00
parent 87e9d5e82a
commit 9193db9d46
3 changed files with 3 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ $('#pEggId').on('change', function (event) {
let objectChain = _.get(parentChain, 'eggs.' + $(this).val(), null);
const images = _.get(objectChain, 'docker_images', [])
$('#pDefaultContainer').html('');
for (let i = 0; i < images.length; i++) {
let opt = document.createElement('option');
opt.value = images[i];