@fayz-ai/admin 0.54.1 → 0.54.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorsTab.d.ts","sourceRoot":"","sources":["../../../src/components/connect/ConnectorsTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,
|
|
1
|
+
{"version":3,"file":"ConnectorsTab.d.ts","sourceRoot":"","sources":["../../../src/components/connect/ConnectorsTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,sBA0I5B"}
|
package/dist/index.js
CHANGED
|
@@ -20769,7 +20769,7 @@ function AddConnectorButton({ onClick }) {
|
|
|
20769
20769
|
}
|
|
20770
20770
|
function ConnectorsTab() {
|
|
20771
20771
|
const { t } = useTranslation$1();
|
|
20772
|
-
const { connectors, error, reload: reload2, revokeGrant,
|
|
20772
|
+
const { connectors, error, reload: reload2, revokeGrant, tenantReady } = useConnectors();
|
|
20773
20773
|
const [adding, setAdding] = React142__default.useState(false);
|
|
20774
20774
|
const [selected, setSelected] = React142__default.useState(null);
|
|
20775
20775
|
const [filter, setFilter] = React142__default.useState("all");
|
|
@@ -20791,9 +20791,6 @@ function ConnectorsTab() {
|
|
|
20791
20791
|
if (fresh && fresh !== selected) setSelected(fresh);
|
|
20792
20792
|
if (!fresh) setSelected(null);
|
|
20793
20793
|
}, [connectors]);
|
|
20794
|
-
if (!agentAvailable) {
|
|
20795
|
-
return /* @__PURE__ */ jsx(Empty2, { title: t("connectors.noProject"), body: t("connectors.noProjectBody") });
|
|
20796
|
-
}
|
|
20797
20794
|
if (!tenantReady) {
|
|
20798
20795
|
return /* @__PURE__ */ jsx(Empty2, { title: t("connectors.noOrg"), body: t("connectors.noOrgBody") });
|
|
20799
20796
|
}
|