expose org id to frontend, Closes #1907
This commit is contained in:
@@ -18,6 +18,7 @@ func setIndexViewData(c *middleware.Context) error {
|
||||
Email: c.Email,
|
||||
Name: c.Name,
|
||||
LightTheme: c.Theme == "light",
|
||||
OrgId: c.OrgId,
|
||||
OrgName: c.OrgName,
|
||||
OrgRole: c.OrgRole,
|
||||
GravatarUrl: dtos.GetGravatarUrl(c.Email),
|
||||
|
||||
Reference in New Issue
Block a user