fix(core): close setting when workspace is deleted (#8747)

fix AF-1618
This commit is contained in:
pengx17
2024-11-08 10:50:13 +00:00
parent 1a1041712f
commit c1ece15560

View File

@@ -80,7 +80,7 @@ export const WorkspaceSettingDetail = ({
</SettingWrapper>
)}
<SettingWrapper>
<DeleteLeaveWorkspace />
<DeleteLeaveWorkspace onCloseSetting={onCloseSetting} />
<SettingRow
name={
<span style={{ color: 'var(--affine-text-secondary-color)' }}>