mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Reset docker images correctly when changing egg; closes #2895
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user