Skip to content

Commit

Permalink
[frontend] Enhance loaders in containers
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHassine committed Dec 24, 2023
1 parent 898a51c commit 0bad01b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,12 @@ class ReportKnowledgeComponent extends Component {
if (props && props.report) {
return <ReportKnowledgeCorrelation report={props.report} />;
}
return <Loader />;
return (
<Loader
variant={LoaderVariant.inElement}
withTopMargin={true}
/>
);
}}
/>
)}
Expand Down Expand Up @@ -418,7 +423,12 @@ class ReportKnowledgeComponent extends Component {
/>
);
}
return <Loader />;
return (
<Loader
variant={LoaderVariant.inElement}
withTopMargin={true}
/>
);
}}
/>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,12 @@ class IncidentKnowledgeComponent extends Component {
/>
);
}
return <Loader />;
return (
<Loader
variant={LoaderVariant.inElement}
withTopMargin={true}
/>
);
}}
/>
)}
Expand Down

0 comments on commit 0bad01b

Please sign in to comment.