mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-20 05:58:07 +01:00
🎨 Supports multiple views for the database https://github.com/siyuan-note/siyuan/issues/9751
This commit is contained in:
parent
d7d4f4d0de
commit
4f50a8b06d
5 changed files with 52 additions and 29 deletions
|
|
@ -315,7 +315,7 @@ func renderTemplate(p, id string, preview bool) (string, error) {
|
|||
}
|
||||
} else {
|
||||
// 预览时使用简单表格渲染
|
||||
view, getErr := attrView.GetView()
|
||||
view, getErr := attrView.GetCurrentView()
|
||||
if nil != getErr {
|
||||
logging.LogErrorf("get attribute view [%s] failed: %s", n.AttributeViewID, getErr)
|
||||
return ast.WalkContinue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue