From 9a6c2edf16201a35711d59b72faadf2a2d84281e Mon Sep 17 00:00:00 2001 From: Jimmy Domagala-Tang Date: Wed, 7 Jan 2026 11:41:14 -0500 Subject: [PATCH] changing to pug conditional format for admin page conditional render (#30302) GitOrigin-RevId: 38006bc5378151219e7c219f292c167ed27bb38e --- services/web/app/views/admin/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/admin/index.pug b/services/web/app/views/admin/index.pug index 993f8c9595..88199a2474 100644 --- a/services/web/app/views/admin/index.pug +++ b/services/web/app/views/admin/index.pug @@ -89,7 +89,7 @@ block content - let currentSection = null each row in privilegesMatrix.privileges - const privilege = row.privilege - - if (currentSection !== privilege.section) + if currentSection !== privilege.section - currentSection = privilege.section tr.section-header td(colspan=privilegesMatrix.roles.length + 1)