mirror of
https://github.com/documize/community.git
synced 2025-07-27 17:19:42 +02:00
New theme layout
This commit is contained in:
parent
679049d2b1
commit
34d54745f3
20 changed files with 2292 additions and 697 deletions
|
@ -42,6 +42,7 @@ func AttachUserAccounts(ctx domain.RequestContext, s store.Store, orgID string,
|
|||
u.Active = false
|
||||
u.ViewUsers = false
|
||||
u.Analytics = false
|
||||
u.Theme = ""
|
||||
|
||||
for _, account := range u.Accounts {
|
||||
if account.OrgID == orgID {
|
||||
|
@ -50,6 +51,7 @@ func AttachUserAccounts(ctx domain.RequestContext, s store.Store, orgID string,
|
|||
u.Active = account.Active
|
||||
u.ViewUsers = account.Users
|
||||
u.Analytics = account.Analytics
|
||||
u.Theme = account.Theme
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue