aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Muench <dominikmuench@gmail.com>2020-03-22 20:42:52 +0100
committerDominik Muench <dominikmuench@gmail.com>2020-03-22 20:42:52 +0100
commitb3d58aa79e7be95abd9905b88d57c784db680438 (patch)
tree4e9ce2d02779a04c816dfcd448b2527751a044c1
parent5611e5e4f5fe49477a1aa15cd86b5647f82ac82f (diff)
use name as default when overriding system display name
-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 }}