diff --git a/mwdb/web/src/components/Blob/Views/ShowTextBlobView.tsx b/mwdb/web/src/components/Blob/Views/ShowTextBlobView.tsx
index 53dc32df9..223eb7686 100644
--- a/mwdb/web/src/components/Blob/Views/ShowTextBlobView.tsx
+++ b/mwdb/web/src/components/Blob/Views/ShowTextBlobView.tsx
@@ -24,6 +24,7 @@ import { TextBlobDetails } from "../common/TextBlobDetails";
import { TextBlobPreview } from "../common/TextBlobPreview";
import { BlobDiffAction } from "../common/BlobDiffAction";
import { ObjectOrConfigOrBlobData } from "@mwdb-web/types/types";
+import { Extendable } from "@mwdb-web/commons/plugins";
export function ShowTextBlobView() {
const params = useParams();
@@ -46,33 +47,35 @@ export function ShowTextBlobView() {
headerCaption="Blob details"
defaultTab="preview"
>
- ,
- ,
- ,
- ,
- ,
- ,
- ]}
- />
-
- ,
- ,
- ,
- ,
- ,
- ,
- ]}
- />
+
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ]}
+ />
+
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ]}
+ />
+
);
diff --git a/mwdb/web/src/components/Config/Views/ShowConfigView.tsx b/mwdb/web/src/components/Config/Views/ShowConfigView.tsx
index b0a2fe872..174bb741a 100644
--- a/mwdb/web/src/components/Config/Views/ShowConfigView.tsx
+++ b/mwdb/web/src/components/Config/Views/ShowConfigView.tsx
@@ -22,6 +22,7 @@ import { useRemotePath } from "@mwdb-web/commons/remotes";
import { ConfigDetails } from "../common/ConfigDetails";
import { ConfigPreview } from "../common/ConfigPreview";
import { ObjectOrConfigOrBlobData } from "@mwdb-web/types/types";
+import { Extendable } from "@mwdb-web/commons/plugins";
export function ShowConfigView() {
const params = useParams();
@@ -47,31 +48,33 @@ export function ShowConfigView() {
headerIcon={faTable}
headerCaption="Config details"
>
- ,
- ,
- ,
- ,
- ,
- ]}
- />
-
- ,
- ,
- ,
- ,
- ,
- ]}
- />
+
+ ,
+ ,
+ ,
+ ,
+ ,
+ ]}
+ />
+
+ ,
+ ,
+ ,
+ ,
+ ,
+ ]}
+ />
+
);
}
diff --git a/mwdb/web/src/components/ShowObject/common/ShowObject.tsx b/mwdb/web/src/components/ShowObject/common/ShowObject.tsx
index 0e4f72961..8162bb1c4 100644
--- a/mwdb/web/src/components/ShowObject/common/ShowObject.tsx
+++ b/mwdb/web/src/components/ShowObject/common/ShowObject.tsx
@@ -69,7 +69,7 @@ function objectReducer(state: ObjectStateReducer, action: ObjectActionReducer) {
type Props = {
ident: string;
- children: JSX.Element[];
+ children: JSX.Element | JSX.Element[];
objectType: ObjectType;
headerIcon: IconDefinition;
objectId: string;
diff --git a/mwdb/web/src/components/Views/ShowSampleView.tsx b/mwdb/web/src/components/Views/ShowSampleView.tsx
index aee8da2b2..dc21d0fb7 100644
--- a/mwdb/web/src/components/Views/ShowSampleView.tsx
+++ b/mwdb/web/src/components/Views/ShowSampleView.tsx
@@ -27,6 +27,7 @@ import { SampleDetails } from "../SampleDetails";
import { SamplePreview } from "../SamplePreview";
import { PreviewSwitchAction } from "../PreviewSwitchAction";
import { ObjectOrConfigOrBlobData } from "@mwdb-web/types/types";
+import { Extendable } from "@mwdb-web/commons/plugins";
export function ShowSampleView() {
const api = useContext(APIContext);
@@ -56,35 +57,37 @@ export function ShowSampleView() {
headerIcon={faFile}
headerCaption="File details"
>
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ]}
- />
-
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ]}
- />
+
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ]}
+ />
+
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ]}
+ />
+
);