Began work on dashboard: editable flag, that actually stops users from changing anything, #1834

This commit is contained in:
Torkel Ödegaard committed 2015-04-23 15:26:48 +02:00
1 parent e9a174d1c5
commit 236c4e65f8
7 files changed
+157 -109

No files matched your search

+3 -3
View File
@@ -28,9 +28,9 @@ type CurrentUser struct {
}
type DashboardMeta struct {
IsStarred bool `json:"isStarred"`
IsHome bool `json:"isHome"`
IsSnapshot bool `json:"isSnapshot"`
IsStarred bool `json:"isStarred,omitempty"`
IsHome bool `json:"isHome,omitempty"`
IsSnapshot bool `json:"isSnapshot,omitempty"`
Slug string `json:"slug"`
Expires time.Time `json:"expires"`
Created time.Time `json:"created"`