* [ui] fix btn style type in empty doc list.
This commit is contained in:
@@ -589,7 +589,7 @@ const actionsMap =
|
||||
/* 文档列表没有文档时的按钮。Actions for empty doc list. */
|
||||
if(info.ui === 'doc-list-empty')
|
||||
{
|
||||
return canCreateDoc ? [{icon: 'plus', text: lang.createDoc, command: 'startCreateDoc'}] : null;
|
||||
return canCreateDoc ? [{icon: 'plus', text: lang.createDoc, btnType: 'primary', command: 'startCreateDoc'}] : null;
|
||||
}
|
||||
|
||||
const items = canModify ?
|
||||
|
||||
Reference in New Issue
Block a user