@dxos/plugin-space 0.7.1-staging.8709ba7 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +2 -2
- package/dist/lib/node/index.cjs.map +2 -2
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +2 -2
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/JoinDialog.d.ts.map +1 -1
- package/package.json +35 -35
- package/src/SpacePlugin.tsx +2 -2
- package/src/components/JoinDialog.tsx +3 -0
|
@@ -2667,14 +2667,14 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2667
2667
|
]
|
|
2668
2668
|
]
|
|
2669
2669
|
};
|
|
2670
|
-
break;
|
|
2671
2670
|
}
|
|
2672
2671
|
case SpaceAction.SHARE: {
|
|
2673
2672
|
const space = intent.data?.space;
|
|
2674
2673
|
if (isSpace2(space) && !space.properties[COMPOSER_SPACE_LOCK]) {
|
|
2675
2674
|
const active = navigationPlugin?.provides.location.active;
|
|
2676
2675
|
const mode = layoutPlugin?.provides.layout.layoutMode;
|
|
2677
|
-
const
|
|
2676
|
+
const current = active ? firstIdInPart(active, mode === "solo" ? "solo" : "main") : void 0;
|
|
2677
|
+
const target = current?.startsWith(space.id) ? current : void 0;
|
|
2678
2678
|
return {
|
|
2679
2679
|
data: true,
|
|
2680
2680
|
intents: [
|