aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/components.html
diff options
context:
space:
mode:
authorMantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>2020-03-23 12:13:39 +0200
committerGitHub <noreply@github.com>2020-03-23 12:13:39 +0200
commit904057a8eff5da0064de79617292f99fc1449120 (patch)
tree4e9ce2d02779a04c816dfcd448b2527751a044c1 /layouts/partials/index/components.html
parent5611e5e4f5fe49477a1aa15cd86b5647f82ac82f (diff)
parentb3d58aa79e7be95abd9905b88d57c784db680438 (diff)
v4.0.2 - implementing correct behavior for displayName
use name as default when overriding system display name
Diffstat (limited to 'layouts/partials/index/components.html')
-rw-r--r--layouts/partials/index/components.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/index/components.html b/layouts/partials/index/components.html
index cfb1391..cc8834a 100644
--- a/layouts/partials/index/components.html
+++ b/layouts/partials/index/components.html
@@ -60,7 +60,7 @@
<div class="component" data-status="{{ if $thisIsDown }}down{{ else }}{{ if $thisIsDisrupted }}disrupted{{ else }}{{ if $thisIsNotice }}notice{{ else }}ok{{ end }}{{ end }}{{ end }}">
<a href="/affected/{{ .name | urlize }}" class="no-underline">
- {{ default .displayName .name }}
+ {{ default .name .displayName }}
</a>
{{ with .description }}