Skip to content

Commit

Permalink
fix(run,log): disable link to source in case failed to retrieve url
Browse files Browse the repository at this point in the history
Fixes #216

Signed-off-by: Danil Kostromin <[email protected]>
  • Loading branch information
okt-limonikas committed Nov 12, 2024
1 parent f218233 commit 3b9d5e3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const LinkToSourceContainer: FC<LinkToSourceFeatureProps> = ({
size="xss"
variant="secondary"
state={isLoading ? 'loading' : isError ? 'disabled' : 'default'}
disabled={isError}
>
<a href={to}>
{isLoading ? (
Expand Down

0 comments on commit 3b9d5e3

Please sign in to comment.