|
@@ -306,10 +306,11 @@ func renderSnapshotAttributeView(c *gin.Context) {
|
|
var views []map[string]interface{}
|
|
var views []map[string]interface{}
|
|
for _, v := range attrView.Views {
|
|
for _, v := range attrView.Views {
|
|
view := map[string]interface{}{
|
|
view := map[string]interface{}{
|
|
- "id": v.ID,
|
|
|
|
- "icon": v.Icon,
|
|
|
|
- "name": v.Name,
|
|
|
|
- "type": v.LayoutType,
|
|
|
|
|
|
+ "id": v.ID,
|
|
|
|
+ "icon": v.Icon,
|
|
|
|
+ "name": v.Name,
|
|
|
|
+ "hideAttrViewName": v.HideAttrViewName,
|
|
|
|
+ "type": v.LayoutType,
|
|
}
|
|
}
|
|
|
|
|
|
views = append(views, view)
|
|
views = append(views, view)
|
|
@@ -347,10 +348,11 @@ func renderHistoryAttributeView(c *gin.Context) {
|
|
var views []map[string]interface{}
|
|
var views []map[string]interface{}
|
|
for _, v := range attrView.Views {
|
|
for _, v := range attrView.Views {
|
|
view := map[string]interface{}{
|
|
view := map[string]interface{}{
|
|
- "id": v.ID,
|
|
|
|
- "icon": v.Icon,
|
|
|
|
- "name": v.Name,
|
|
|
|
- "type": v.LayoutType,
|
|
|
|
|
|
+ "id": v.ID,
|
|
|
|
+ "icon": v.Icon,
|
|
|
|
+ "name": v.Name,
|
|
|
|
+ "hideAttrViewName": v.HideAttrViewName,
|
|
|
|
+ "type": v.LayoutType,
|
|
}
|
|
}
|
|
|
|
|
|
views = append(views, view)
|
|
views = append(views, view)
|
|
@@ -404,10 +406,11 @@ func renderAttributeView(c *gin.Context) {
|
|
var views []map[string]interface{}
|
|
var views []map[string]interface{}
|
|
for _, v := range attrView.Views {
|
|
for _, v := range attrView.Views {
|
|
view := map[string]interface{}{
|
|
view := map[string]interface{}{
|
|
- "id": v.ID,
|
|
|
|
- "icon": v.Icon,
|
|
|
|
- "name": v.Name,
|
|
|
|
- "type": v.LayoutType,
|
|
|
|
|
|
+ "id": v.ID,
|
|
|
|
+ "icon": v.Icon,
|
|
|
|
+ "name": v.Name,
|
|
|
|
+ "hideAttrViewName": v.HideAttrViewName,
|
|
|
|
+ "type": v.LayoutType,
|
|
}
|
|
}
|
|
|
|
|
|
views = append(views, view)
|
|
views = append(views, view)
|