1
0
Fork 0

A proper check for a service status.

This commit is contained in:
Alexander Andreev 2023-12-16 04:27:32 +04:00
parent 34d469319d
commit ac02190659
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ block nav
h1 About
mixin isServiceUp(header, service)
if (services[service])
if v, ok := services[service]; ok && v
h3.service-up= header
else
h3.service-down= header