mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-13 07:53:29 -05:00
Don't show process id if display name exists
This commit is contained in:
parent
ecdd51b6a0
commit
77075d5c64
1 changed files with 2 additions and 3 deletions
|
|
@ -87,9 +87,8 @@ class Dashboard extends BaseHtmlElement
|
|||
foreach ($processes as $name) {
|
||||
$meta = $storage->loadMetadata($name);
|
||||
$title = $meta->get('Title');
|
||||
if ($title) {
|
||||
$title = sprintf('%s (%s)', $title, $name);
|
||||
} else {
|
||||
|
||||
if ($title === null) {
|
||||
$title = $name;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue