Przeglądaj źródła

changing to pug conditional format for admin page conditional render (#30302)

GitOrigin-RevId: 38006bc5378151219e7c219f292c167ed27bb38e
Jimmy Domagala-Tang 7 miesięcy temu
rodzic
commit
9a6c2edf16
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      services/web/app/views/admin/index.pug

+ 1 - 1
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)