Skip to content

Commit

Permalink
corrected loading message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahendar0701 committed Nov 25, 2024
1 parent fdfc53d commit fae3d3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Assets/AssetsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const AssetsList = () => {
);

let manageAssets = null;
if (loading) {
if (loading || !assetsExist) {
manageAssets = (
<div className="col-span-3 w-full py-8 text-center">
<Loading />
Expand Down
5 changes: 4 additions & 1 deletion src/components/Patient/SampleDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@ export const SampleDetails = ({ id }: DetailRoute) => {

const renderFlow = (flow: FlowModel) => {
return (
<Card key={flow.id}>
<Card
key={flow.id}
className="mb-2 shadow-sm border border-secondary-300"
>
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
<div>
<span className="font-semibold leading-relaxed">
Expand Down

0 comments on commit fae3d3d

Please sign in to comment.