|
@@ -186,7 +186,6 @@ func NewAttributeView(id string) (ret *AttributeView) {
|
|
|
ret = &AttributeView{
|
|
|
Spec: 0,
|
|
|
ID: id,
|
|
|
- Name: "Untitled",
|
|
|
KeyValues: []*KeyValues{{Key: blockKey}},
|
|
|
ViewID: view.ID,
|
|
|
Views: []*View{view},
|
|
@@ -264,9 +263,6 @@ func SaveAttributeView(av *AttributeView) (err error) {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if "" == av.Name {
|
|
|
- av.Name = "Untitled"
|
|
|
- }
|
|
|
|
|
|
data, err := gulu.JSON.MarshalIndentJSON(av, "", "\t") // TODO: single-line for production
|
|
|
if nil != err {
|