Skip to content
Snippets Groups Projects
Commit 085e3c2b authored by Simon Künzel's avatar Simon Künzel
Browse files

Add reload boundary to MediaProcessOverview

parent 680f7d88
No related branches found
No related tags found
No related merge requests found
...@@ -565,13 +565,13 @@ export function MediaProcessOverview({ lectureId }: { lectureId: int }) { ...@@ -565,13 +565,13 @@ export function MediaProcessOverview({ lectureId }: { lectureId: int }) {
if (error !== undefined) { if (error !== undefined) {
return ( return (
<ReloadBoundary reloadFunc={reloadData}> <NestedReloadBoundary reloadFunc={reloadData}>
<ErrorComponent <ErrorComponent
error={error} error={error}
objectName="Media Process Overview" objectName="Media Process Overview"
showButtons={false} showButtons={false}
/> />
</ReloadBoundary> </NestedReloadBoundary>
); );
} }
...@@ -580,6 +580,7 @@ export function MediaProcessOverview({ lectureId }: { lectureId: int }) { ...@@ -580,6 +580,7 @@ export function MediaProcessOverview({ lectureId }: { lectureId: int }) {
} }
return ( return (
<NestedReloadBoundary reloadFunc={reloadData} >
<ul className="list-unstyled"> <ul className="list-unstyled">
<table className="table"> <table className="table">
<thead> <thead>
...@@ -673,6 +674,7 @@ export function MediaProcessOverview({ lectureId }: { lectureId: int }) { ...@@ -673,6 +674,7 @@ export function MediaProcessOverview({ lectureId }: { lectureId: int }) {
</ul> </ul>
</li> </li>
</ul> </ul>
</NestedReloadBoundary>
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment