@docsvision/management-console 6.2.4-beta.1 → 6.2.4-beta.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.
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -59532,7 +59532,7 @@ function DatabaseSelectionModal(props) {
|
|
|
59532
59532
|
!hasDatabases ? /* @__PURE__ */ jsx(Typography$3, { variant: "body2", className: "database-selection-modal__empty", children: resources.NoDatabasesAvailableForConnection }) : /* @__PURE__ */ jsx("div", { className: "database-selection-modal__table-wrapper", children: /* @__PURE__ */ jsx(TableContainer, { children: /* @__PURE__ */ jsxs(Table$1, { size: "small", children: [
|
|
59533
59533
|
/* @__PURE__ */ jsx(TableHead, { children: columns.map((column) => /* @__PURE__ */ jsx(TableCell$2, { children: column }, column)) }),
|
|
59534
59534
|
/* @__PURE__ */ jsx(TableBody$1, { children: databases.map((database) => {
|
|
59535
|
-
const hasError = !!database.error;
|
|
59535
|
+
const hasError = !!database.error || typeof database.errorType !== "undefined" && database.errorType === ElementErrorType.StorageRead;
|
|
59536
59536
|
const isSelected = selectedIds.has(database.hash);
|
|
59537
59537
|
const handleRowClick = hasError ? void 0 : () => handleToggle(database.hash);
|
|
59538
59538
|
return /* @__PURE__ */ jsx(
|