@interopio/home-ui-react 1.2.3 → 1.2.4
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/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +3 -3
- package/index.mjs.map +1 -1
- package/lib/io-connect-home/helpers.d.ts +1 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -7664,7 +7664,7 @@ const wu = ({ groupId: t, workspaceId: e }) => {
|
|
|
7664
7664
|
...t.auth.token,
|
|
7665
7665
|
bearer: n
|
|
7666
7666
|
},
|
|
7667
|
-
username: t.auth.username ?? e
|
|
7667
|
+
username: t.auth.username ?? e
|
|
7668
7668
|
}
|
|
7669
7669
|
}), Ri = (t, e, n) => ({
|
|
7670
7670
|
...t,
|
|
@@ -7672,7 +7672,7 @@ const wu = ({ groupId: t, workspaceId: e }) => {
|
|
|
7672
7672
|
...t.browserPlatform,
|
|
7673
7673
|
config: {
|
|
7674
7674
|
...t.browserPlatform?.config,
|
|
7675
|
-
user: t.browserPlatform?.config?.user ?? { username: e
|
|
7675
|
+
user: t.browserPlatform?.config?.user ?? { username: e },
|
|
7676
7676
|
manager: t.browserPlatform?.config?.manager && Ou(t.browserPlatform.config.manager, e, n)
|
|
7677
7677
|
}
|
|
7678
7678
|
}
|
|
@@ -7696,7 +7696,7 @@ const wu = ({ groupId: t, workspaceId: e }) => {
|
|
|
7696
7696
|
() => a.user?.email ? { username: a.user.name, id: a.user.email } : null,
|
|
7697
7697
|
[a.user]
|
|
7698
7698
|
);
|
|
7699
|
-
return c ? !r.isSetupCompleted && e?.enabled !== !1 ? /* @__PURE__ */ s(Rr, { settings: e?.settings, components: e?.components }) : /* @__PURE__ */ s(ur, { settings: Ri(n, c, o), children: /* @__PURE__ */ s(Mr, { workspaces: t.workspaces, launchpad: t.launchpad, onLogout: a.logout, user: c }) }) : /* @__PURE__ */ s(fu, { isLoading: a.isLoading, onLogin: a.loginWithPopup, components: t.login.components });
|
|
7699
|
+
return c ? !r.isSetupCompleted && e?.enabled !== !1 ? /* @__PURE__ */ s(Rr, { settings: e?.settings, components: e?.components }) : /* @__PURE__ */ s(ur, { settings: Ri(n, c.id, o), children: /* @__PURE__ */ s(Mr, { workspaces: t.workspaces, launchpad: t.launchpad, onLogout: a.logout, user: c }) }) : /* @__PURE__ */ s(fu, { isLoading: a.isLoading, onLogin: a.loginWithPopup, components: t.login.components });
|
|
7700
7700
|
}, ku = ({ config: t }) => {
|
|
7701
7701
|
const { setupFlow: e, ioConnectConfig: n } = t, { permission: r } = ut();
|
|
7702
7702
|
return !r.isSetupCompleted && e?.enabled !== !1 ? /* @__PURE__ */ s(Rr, { settings: e?.settings, components: e?.components }) : /* @__PURE__ */ s(ur, { settings: n, children: /* @__PURE__ */ s(Mr, { workspaces: t.workspaces, launchpad: t.launchpad }) });
|