Skip to content

Commit c62e20b

Browse files
committed
fix: uat changes
1 parent b5c7281 commit c62e20b

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

src/components/ResourceBrowser/ResourceList/K8SResourceList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ export const K8SResourceList = ({
290290
isEventListing,
291291
lowercaseKindToResourceGroupMap,
292292
reloadResourceListData: handleClearCacheAndReload,
293+
clusterName: selectedCluster?.label ?? '',
293294
}}
294295
pageSizeOptions={!isNodeListing ? RESOURCE_PAGE_SIZE_OPTIONS : undefined}
295296
/>

src/components/ResourceBrowser/ResourceList/K8sResourceListTableCellComponent.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ const K8sResourceListTableCellComponent = ({
210210
</Tooltip>
211211
<ClipboardButton
212212
content={String(resourceData.name)}
213-
rootClassName="p-4 dc__visible-hover--child"
213+
rootClassName="p-2 dc__visible-hover--child"
214+
iconSize={16}
214215
/>
215216
</div>
216217
{!isNodeListing ? (

src/components/ResourceBrowser/ResourceList/NodeActionsMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const NodeActionsMenu = forwardRef<HTMLButtonElement, NodeActionsMenuProps>(
195195
variant={ButtonVariantType.borderLess}
196196
ariaLabel="Open action menu"
197197
style={ButtonStyleType.neutral}
198-
size={ComponentSizeType.small}
198+
size={ComponentSizeType.xxs}
199199
showAriaLabelInTippy={false}
200200
/>
201201
</ActionMenu>

src/components/ResourceBrowser/ResourceList/ResourceBrowserActionMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const ResourceBrowserActionMenu = forwardRef(
203203
variant={ButtonVariantType.borderLess}
204204
ariaLabel="Open action menu"
205205
style={ButtonStyleType.neutral}
206-
size={ComponentSizeType.small}
206+
size={ComponentSizeType.xxs}
207207
showAriaLabelInTippy={false}
208208
/>
209209
</ActionMenu>

src/components/ResourceBrowser/ResourceList/ResourceFilterOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const ResourceFilterOptions = ({
8383

8484
const selectedNamespaceOption = useMemo(() => {
8585
if (selectedResource?.namespaced) {
86-
return namespaceOptions.find((option) => option.value === selectedNamespace)
86+
return namespaceOptions.find((option) => option.value === (selectedNamespace || ALL_NAMESPACE_OPTION.value))
8787
}
8888
return NAMESPACE_NOT_APPLICABLE_OPTION
8989
}, [selectedNamespace, selectedResource?.namespaced, namespaceOptions])

src/components/common/navigation/NavigationRoutes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ export default function NavigationRoutes({ reloadVersionConfig }: Readonly<Navig
515515
}}
516516
>
517517
<ConfirmationModalProvider>
518+
<BaseConfirmationModal />
518519
<motion.main id={DEVTRON_BASE_MAIN_ID} style={{ gridTemplateColumns }}>
519520
{showThemeSwitcherDialog && (
520521
<SwitchThemeDialog
@@ -693,7 +694,6 @@ export default function NavigationRoutes({ reloadVersionConfig }: Readonly<Navig
693694
</>
694695
)}
695696
</motion.main>
696-
<BaseConfirmationModal />
697697
</ConfirmationModalProvider>
698698
</MainContextProvider>
699699
)

0 commit comments

Comments
 (0)