feat(core): try cloud link (#6660)

This commit is contained in:
EYHN
2024-04-22 08:51:02 +00:00
parent 94de6f5853
commit d36b5e14aa
2 changed files with 9 additions and 1 deletions

View File

@@ -77,7 +77,6 @@ export const Component = () => {
// check is user logged in && has cloud workspace
if (searchParams.get('initCloud') === 'true') {
if (loggedIn) {
searchParams.delete('initCloud');
if (list.every(w => w.flavour !== WorkspaceFlavour.AFFINE_CLOUD)) {
createCloudWorkspace();
return;