Skip to content

Commit 26bcad6

Browse files
committed
fix(docker): only show rev number in non uis
1 parent 3b9980c commit 26bcad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/app/www/public/classes/traits/Docker/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function getContainerVersion($inspect, $ui = true)
215215
$source = $inspect[0]['Config']['Labels']['org.opencontainers.image.source'] ?? '';
216216
if (!empty($rev) && !empty($source)) {
217217
$link = $source . '/commit/' . $rev;
218-
$return .= $ui ? ' <a href="' . $link . '" target="_blank">' . $rev . '</a>' : '[' . $rev . '](' . $link . ')';
218+
$return .= $ui ? ' <a href="' . $link . '" target="_blank">' . $rev . '</a>' : ' ' . $rev;
219219
}
220220
return $return;
221221
}

0 commit comments

Comments
 (0)