diff --git a/src/core/admin/templates/groups.templ b/src/core/admin/templates/groups.templ index 1ee3347..51013da 100644 --- a/src/core/admin/templates/groups.templ +++ b/src/core/admin/templates/groups.templ @@ -70,27 +70,11 @@ templ CreateGroupForm() { -
- -
- for _, a := range allApps() { - - } -
-
} -func allApps() []string { - return []string{"Admin Panel", "Files", "Mail", "Calendar", "Office", "Contacts", "Tasks", "Chat"} -} - - type GroupRow struct { Name string UserCount int diff --git a/src/core/admin/templates/groups_templ.go b/src/core/admin/templates/groups_templ.go index 0e3bd41..a981381 100644 --- a/src/core/admin/templates/groups_templ.go +++ b/src/core/admin/templates/groups_templ.go @@ -192,43 +192,7 @@ func CreateGroupForm() templ.Component { templ_7745c5c3_Var10 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "

New Group

") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - for _, a := range allApps() { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "

New Group

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -236,10 +200,6 @@ func CreateGroupForm() templ.Component { }) } -func allApps() []string { - return []string{"Admin Panel", "Files", "Mail", "Calendar", "Office", "Contacts", "Tasks", "Chat"} -} - type GroupRow struct { Name string UserCount int