mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 17:46:18 +08:00
fix(core): add favorite folder in menu, adjust empty-page new page button (#7730)
close AF-1150, AF-1128, AF-1131 - Replace favorite migration related copy - Adjust empty page's "New Page" button  - Add toggle favorite to folder menu  - Adjust `Button` - add `withoutHover` state - remove cursor: not-allowed when disabled
This commit is contained in:
@@ -107,7 +107,8 @@ const NameWorkspaceContent = ({
|
||||
confirmText={t['com.affine.nameWorkspace.button.create']()}
|
||||
confirmButtonOptions={{
|
||||
variant: 'primary',
|
||||
disabled: !workspaceName || loading,
|
||||
loading,
|
||||
disabled: !workspaceName,
|
||||
['data-testid' as string]: 'create-workspace-create-button',
|
||||
}}
|
||||
closeButtonOptions={{
|
||||
|
||||
Reference in New Issue
Block a user