Capture accumulated application, UI, CLI, regression tests and design documentation changes, including task project mapping and default CalDAV list naming. Keep deployment data, backups, local credentials and build artifacts out of Git. Move the Compose enrollment token to an ignored local environment file.
12 lines
285 B
Go
12 lines
285 B
Go
package server
|
|
|
|
func (s *Server) getWikiName(domainUUID ...string) string {
|
|
if len(domainUUID) > 0 && domainUUID[0] != "" {
|
|
domain, err := s.store.GetDomainByUUID(domainUUID[0])
|
|
if err == nil && domain.Title != "" {
|
|
return domain.Title
|
|
}
|
|
}
|
|
return s.currentDomain().Title
|
|
}
|