Skip to content

Commit b0080ca

Browse files
authored
Merge pull request #2921 from devtron-labs/fix/sentry-misc
chore: cannot read forEach sentry fix
2 parents 33b5fff + dbf4be5 commit b0080ca

File tree

4 files changed

+3
-736
lines changed

4 files changed

+3
-736
lines changed

src/components/ResourceBrowser/ResourceList/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ export const getNodeSearchKeysOptionsList = (rows: NodeListSearchFilterType['row
524524
nodeGroups: Map<string, NodeSearchListOptionType>
525525
}>(
526526
(acc, curr) => {
527-
;(curr.data.labels as { key: string; value: string }[]).forEach(({ key, value }) => {
527+
;((curr.data.labels ?? []) as { key: string; value: string }[]).forEach(({ key, value }) => {
528528
if (!acc.labels.has(`${key}/${value}`)) {
529529
acc.labels.set(`${key}/${value}`, {
530530
label: `${key}=${value}`,

src/components/app/details/appDetails/SourceInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const SourceInfo = ({
158158
loadingCards.push(<LoadingCard key={i} />)
159159
}
160160

161-
return <div className="flex left mb-16">{loadingCards}</div>
161+
return <div className="flex left mb-16 ml-20">{loadingCards}</div>
162162
}
163163

164164
const onClickSliderVerticalButton = () => {

0 commit comments

Comments
 (0)