mirror of
https://github.com/unraid/webgui.git
synced 2026-01-26 03:29:08 -06:00
Revert switch case
It is correct, because the line in DockerClient is
$tmp['registry'] = $tmp['registry'] ?? $this->getTemplateValue($image, 'Registry');
And if I switch that, then god knows what else has to change in addition
This commit is contained in:
@@ -57,7 +57,7 @@ foreach ($containers as $ct) {
|
||||
$webGui = html_entity_decode($info['url']);
|
||||
$support = html_entity_decode($info['Support']);
|
||||
$project = html_entity_decode($info['Project']);
|
||||
$registry = html_entity_decode($info['Registry']);
|
||||
$registry = html_entity_decode($info['registry']);
|
||||
$menu[] = sprintf("addDockerContainerContext('%s','%s','%s',%s,%s,%s,%s,'%s','%s','%s','%s','%s','%s');", addslashes($name), addslashes($ct['ImageId']), addslashes($template), $running, $paused, $updateStatus, $is_autostart, addslashes($webGui), $shell, $id, addslashes($support), addslashes($project),addslashes($registry));
|
||||
$docker[] = "docker.push({name:'$name',id:'$id',state:$running,pause:$paused,update:'$updateStatus'});";
|
||||
$shape = $running ? ($paused ? 'pause' : 'play') : 'square';
|
||||
|
||||
Reference in New Issue
Block a user