Skip to content

Commit 56505b3

Browse files
authored
Merge pull request #142 from KelvinTegelaar/main
[pull] main from KelvinTegelaar:main
2 parents 2900c3a + 30f780f commit 56505b3

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

public/version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "7.3.0"
2+
"version": "7.3.1"
33
}

src/components/CippComponents/CippTenantSelector.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const CippTenantSelector = (props) => {
6363
}, [currentTenant?.value]);
6464

6565
useEffect(() => {
66-
if (tenant && currentTenant?.value) {
66+
if (tenant && currentTenant?.value && currentTenant?.value !== 'AllTenants') {
6767
tenantDetails.refetch();
6868
}
6969
}, [tenant, offcanvasVisible]);

src/components/CippTable/CippDataTable.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,11 @@ export const CippDataTable = (props) => {
178178
data: memoizedData,
179179
state: {
180180
columnVisibility,
181-
showSkeletons: getRequestData.isFetching ? getRequestData.isFetching : isFetching,
181+
showSkeletons: getRequestData.isFetchingNextPage
182+
? false
183+
: getRequestData.isFetching
184+
? getRequestData.isFetching
185+
: isFetching,
182186
},
183187
renderEmptyRowsFallback: ({ table }) =>
184188
getRequestData.data?.pages?.[0].Metadata?.QueueMessage ? (

src/layouts/side-nav-item.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ export const SideNavItem = (props) => {
152152
alignItems: "center",
153153
width: "100%",
154154
px: `${indent * 6}px`,
155-
py: "12px",
156155
}}
157156
>
158157
<ButtonBase
@@ -167,6 +166,7 @@ export const SideNavItem = (props) => {
167166
textAlign: "left",
168167
whiteSpace: "nowrap",
169168
width: "calc(100% - 20px)", // Adjust the width to leave space for the bookmark icon
169+
py: "12px",
170170
}}
171171
{...linkProps}
172172
>

src/layouts/top-nav.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const TopNav = (props) => {
124124
</IconButton>
125125
)}
126126
</Stack>
127-
<Stack alignItems="center" direction="row" spacing={2}>
127+
<Stack alignItems="center" direction="row" spacing={1.5}>
128128
{!mdDown && (
129129
<IconButton color="inherit" onClick={handleThemeSwitch}>
130130
<SvgIcon color="action" fontSize="small">
@@ -187,7 +187,6 @@ export const TopNav = (props) => {
187187
</Popover>
188188
<CippCentralSearch open={searchDialog.open} handleClose={searchDialog.handleClose} />
189189
<NotificationsPopover />
190-
191190
<AccountPopover
192191
onThemeSwitch={handleThemeSwitch}
193192
paletteMode={settings.currentTheme?.value === "light" ? "dark" : "light"}

0 commit comments

Comments
 (0)