Skip to content

Commit

Permalink
🎨 Add template type column to Attribute View siyuan-note#8766
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Oct 1, 2023
1 parent b981fa0 commit dbdddd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/model/attribute_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ func renderAttributeViewTable(attrView *av.AttributeView, view *av.View) (ret *a
goTpl := template.New("").Delims(".action{", "}")
tpl, tplErr := goTpl.Funcs(funcMap).Parse(tableCell.Value.Template.Content)
if nil != tplErr {
logging.LogWarnf("parse template [%s] failed: %s", tableCell.Value.Template.Content, err)
logging.LogWarnf("parse template [%s] failed: %s", tableCell.Value.Template.Content, tplErr)
return ""
}

buf := &bytes.Buffer{}
Expand Down

0 comments on commit dbdddd7

Please sign in to comment.