Skip to content

Node.js based forum software built for the modern web

fix: tpl error

Julian Lamac2392096109
diff --git a/src/views/admin/federation/errors.tpl b/src/views/admin/federation/errors.tpl
index 3a0a1d3574..c5efbb74b1 100644
--- a/src/views/admin/federation/errors.tpl
+++ b/src/views/admin/federation/errors.tpl
@@ -12,7 +12,7 @@
<details class="mb-3" data-index="{@index}">
<summary>
<span title="{./timestampISO}" class="timeago text-secondary text-sm"></span>
- <span class="badge text-bg-primary">{{{ if (type == "in") }}}IN{{{ else }}}OUT{{{ end }}}</span>
+ <span class="badge text-bg-primary">{{{ if (./type == "in") }}}IN{{{ else }}}OUT{{{ end }}}</span>
<br/ >
<code>{./id}</code>
</summary>