From 281006661da880103557bfc401ef76fffd9b0150 Mon Sep 17 00:00:00 2001 From: giuem Date: Sun, 21 Oct 2018 12:47:17 +0800 Subject: [PATCH] fix(syntax): `=` in statement --- src/views/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/index.pug b/src/views/index.pug index 6e5e4ce7..fb1dfaa9 100644 --- a/src/views/index.pug +++ b/src/views/index.pug @@ -36,7 +36,7 @@ html .icon.icon-status-sum.up div(style="letter-spacing:-0.5px;") if (data.sum.down > 0) - if (data.sum.down = 1) + if (data.sum.down == 1) .summary-detail= data.sum.down + " system is outage." else .summary-detail= data.sum.down + " systems are outage."