Skip to content

Commit

Permalink
CORE: token issue (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 authored Aug 16, 2024
1 parent 5a1f60c commit 8fcdf57
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions templates/overview/cards/overview-card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ const OverviewCard = ({
<div className={styles.cardHeaderWrapper}>
<Card.Title tag="h2">{title}</Card.Title>
<div className={styles.actionWrapper}>
{globalStore.dataProvider.id === 140 && renderWarning && (
<div className={styles.iconWrapper}>
<Icon className={styles.icon} src="#alert" />
<div>Repository wide</div>
</div>
)}
{globalStore.dataProvider.id === 140 &&
globalStore.selectedSetName &&
renderWarning && (
<div className={styles.iconWrapper}>
<Icon className={styles.icon} src="#alert" />
<div>Repository wide</div>
</div>
)}
<Actions
downloadUrl={downloadUrl}
description={tooltip}
Expand Down

0 comments on commit 8fcdf57

Please sign in to comment.