@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 CHANGED
@@ -1195,6 +1195,7 @@ export declare interface IDatabaseModel {
1195
1195
  hash: string;
1196
1196
  serverNames: string[];
1197
1197
  error?: string;
1198
+ errorType?: ElementErrorType_2;
1198
1199
  }
1199
1200
 
1200
1201
  export declare interface IDatabaseSelectionModalProps {
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(