mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
♻️ Gallery view renamed to Card view https://github.com/siyuan-note/siyuan/issues/15215
This commit is contained in:
parent
d7f56c2bb6
commit
1ab9b5c518
24 changed files with 141 additions and 85 deletions
|
|
@ -48,7 +48,7 @@ func checkAttrView(attrView *av.AttributeView, view *av.View) {
|
|||
// 视图类型不匹配时需要订正
|
||||
for i, v := range attrView.Views {
|
||||
if av.LayoutTypeGallery == v.LayoutType && nil == v.Gallery {
|
||||
// 切换为画廊视图时可能没有初始化画廊实例 https://github.com/siyuan-note/siyuan/issues/15122
|
||||
// 切换为卡片视图时可能没有初始化卡片实例 https://github.com/siyuan-note/siyuan/issues/15122
|
||||
if nil != v.Table {
|
||||
v.LayoutType = av.LayoutTypeTable
|
||||
changed = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue