Skip to content

Commit

Permalink
Merge pull request #4044 from kubeshop/mm/fix/improvehelmerror
Browse files Browse the repository at this point in the history
fix: improve helm error
  • Loading branch information
mortada-codes authored Jun 6, 2023
2 parents d5cc2f1 + daca8c1 commit 1ae88c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/organisms/HelmRepoPane/HelmChartsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {sortChartsByName, useSearchHelmCharts} from '@hooks/useSearchHelmCharts'

import {useMainPaneDimensions} from '@utils/hooks';

import {Icon} from '@monokle/components';
import {ChartInfo} from '@shared/models/ui';
import {openUrlInExternalBrowser, trackEvent} from '@shared/utils';
import {addHelmRepoCommand, runCommandInMainThread} from '@shared/utils/commands';
Expand Down Expand Up @@ -162,7 +163,8 @@ const HelmChartsTable = () => {

{error ? (
<S.ErrorText>
{error.message} - please check helm from{' '}
<Icon name="warning" style={{marginRight: 4}} />
Error: {error.message} <Typography.Text>- Please check helm from </Typography.Text>
<Typography.Link onClick={() => openUrlInExternalBrowser('https://helm.sh/docs/intro/install/')}>
here
</Typography.Link>
Expand Down
1 change: 1 addition & 0 deletions src/components/organisms/HelmRepoPane/styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export const ErrorText = styled(Typography.Text)`
font-size: 16px;
line-height: 24px;
font-weight: 400;
color: ${Colors.red6};
`;

export const Checkbox = styled(AntCheckbox)`
Expand Down

0 comments on commit 1ae88c7

Please sign in to comment.