mirror of
https://github.com/unraid/webgui.git
synced 2026-03-12 13:59:50 -05:00
Fix: Docker 'WebUI' content menu item now hidden when the web ui link is empty
This commit is contained in:
@@ -2,7 +2,7 @@ var eventURL = "/plugins/dynamix.docker.manager/include/Events.php";
|
||||
|
||||
function addDockerContainerContext(container, image, template, started, update, autostart, webui, id) {
|
||||
var opts = [{header: container, image: "/plugins/dynamix.docker.manager/images/dynamix.docker.manager.png"}];
|
||||
if (started && (webui != "#")) {
|
||||
if (started && (webui !== "" && webui != "#")) {
|
||||
opts.push({text: 'WebUI', icon: 'fa-globe', href: webui, target: '_blank'});
|
||||
opts.push({divider: true});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user