fix(web): allow workbench without projects
This commit is contained in:
@@ -452,9 +452,11 @@ export function WorkspaceExplorePage({
|
||||
onClick={() => void updateSelected({ status: selected.status, starred: !selected.starred })}
|
||||
/>
|
||||
<Button
|
||||
aria-label={`沉淀到项目${activeProjectName}`}
|
||||
aria-label={activeProjectName ? `沉淀到项目${activeProjectName}` : '请先选择项目'}
|
||||
title={activeProjectName ? undefined : '请先选择项目'}
|
||||
type="text"
|
||||
icon={<IconBook />}
|
||||
disabled={!activeProjectID}
|
||||
loading={depositingItemID === selected.id}
|
||||
onClick={() => void depositSelected()}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user