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

This commit is contained in:
Torkel Ödegaard
2015-04-23 15:26:48 +02:00
parent e9a174d1c5
commit 236c4e65f8
7 changed files with 157 additions and 109 deletions
+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"`