summaryrefslogtreecommitdiff
path: root/internal/handlers/settings.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handlers/settings.go')
-rw-r--r--internal/handlers/settings.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/handlers/settings.go b/internal/handlers/settings.go
index 5ba3724..9ab832c 100644
--- a/internal/handlers/settings.go
+++ b/internal/handlers/settings.go
@@ -14,9 +14,6 @@ func (h *Handler) HandleSettingsPage(w http.ResponseWriter, r *http.Request) {
configs, _ := h.store.GetSourceConfigs()
syncLog, _ := h.store.GetRecentSyncLog(20)
agents, _ := h.store.GetAllAgents()
- buckets, _ := BuildBucketSummaries(h.store)
- projects, _ := h.store.GetProjects()
- labels, _ := h.store.GetLabelColors()
// Group configs by source
bySource := make(map[string][]models.SourceConfig)
@@ -29,9 +26,6 @@ func (h *Handler) HandleSettingsPage(w http.ResponseWriter, r *http.Request) {
Sources []string
SyncLog []store.SyncLogEntry
Agents []models.Agent
- Buckets []models.BucketSummary
- Projects []models.Project
- Labels []models.LabelColor
CSRFToken string
WebAuthnEnabled bool
}{
@@ -39,9 +33,6 @@ func (h *Handler) HandleSettingsPage(w http.ResponseWriter, r *http.Request) {
Sources: []string{"trello", "gcal", "gtasks"},
SyncLog: syncLog,
Agents: agents,
- Buckets: buckets,
- Projects: projects,
- Labels: labels,
CSRFToken: auth.GetCSRFTokenFromContext(r.Context()),
WebAuthnEnabled: h.WebAuthnEnabled,
}