mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Update database table view
This commit is contained in:
@@ -281,7 +281,7 @@ func SaveAttributeView(av *AttributeView) (err error) {
|
||||
}
|
||||
}
|
||||
|
||||
data, err := gulu.JSON.MarshalIndentJSON(av, "", "\t") // TODO: single-line for production
|
||||
data, err := gulu.JSON.MarshalJSON(av)
|
||||
if nil != err {
|
||||
logging.LogErrorf("marshal attribute view [%s] failed: %s", av.ID, err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user