diff --git a/src/components/Pacs/components/SeriesCard.tsx b/src/components/Pacs/components/SeriesCard.tsx
index 96ad0e83f..682314adf 100644
--- a/src/components/Pacs/components/SeriesCard.tsx
+++ b/src/components/Pacs/components/SeriesCard.tsx
@@ -377,7 +377,7 @@ const SeriesCardCopy = ({ series }: { series: any }) => {
>
)}
- {isPending && !isError ? (
+ {isPending && !isError && !data ? (
) : data ? (
diff --git a/src/components/Pacs/index.tsx b/src/components/Pacs/index.tsx
index b691b25b0..7cf94bf4f 100644
--- a/src/components/Pacs/index.tsx
+++ b/src/components/Pacs/index.tsx
@@ -169,6 +169,7 @@ const QueryBuilder = () => {
},
});
+ // This is just for production instances where PACSDCM is the default service always.
const findIndex = list.findIndex(
(listItem: string) => listItem === "PACSDCM",
);
@@ -177,7 +178,7 @@ const QueryBuilder = () => {
dispatch({
type: Types.SET_SELECTED_PACS_SERVICE,
payload: {
- selectedPacsService: findIndex > 1 ? list[findIndex] : list[0],
+ selectedPacsService: findIndex >= 1 ? list[findIndex] : list[0],
},
});
}
diff --git a/src/components/Pacs/pacs-copy.css b/src/components/Pacs/pacs-copy.css
index 90abc5c0c..1a643b9e5 100644
--- a/src/components/Pacs/pacs-copy.css
+++ b/src/components/Pacs/pacs-copy.css
@@ -113,12 +113,14 @@
.progress-active {
.pf-v5-c-progress__indicator{
- background-color:#bee1f4;
+ background-color: #BEE1F4
}
}
.progress-success{
.pf-v5-c-progress__indicator{
- background-color:#004080;
+ background-color:#0066CC;
}
-}
\ No newline at end of file
+}
+
+
diff --git a/src/components/Wrapper/Sidebar.tsx b/src/components/Wrapper/Sidebar.tsx
index c393dec12..ce0a34c0c 100644
--- a/src/components/Wrapper/Sidebar.tsx
+++ b/src/components/Wrapper/Sidebar.tsx
@@ -28,6 +28,7 @@ const Sidebar: React.FC = ({
const isLoggedIn = useTypedSelector((state) => state.user.isLoggedIn);
const onSelect = (selectedItem: any) => {
const { itemId } = selectedItem;
+ if (sidebarActiveItem === itemId) return;
setSidebarActive({
activeItem: itemId,
});
@@ -35,19 +36,26 @@ const Sidebar: React.FC = ({
const urlParam = isLoggedIn ? "private" : "public";
+ const renderLink = (to: string, label: string, itemId: string) => {
+ if (sidebarActiveItem === itemId) {
+ return {label};
+ }
+ return {label};
+ };
+
const PageNav = (