Skip to content

Commit

Permalink
Merge pull request #2991 from glific/fix/rating
Browse files Browse the repository at this point in the history
Fix: Added not rated for templates which have unknown quality
  • Loading branch information
kurund committed Jul 23, 2024
2 parents 23298f6 + e23419c commit af1cb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/Template/List/Template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import { RaiseToGupShup } from './RaiseToGupshupDialog/RaiseToGupShup';
const getLabel = (label: string, quality?: string) => (
<div className={styles.LabelContainer}>
<div className={styles.LabelText}>{label}</div>
<div className={styles.Quality}>{quality || 'Not Rated'}</div>
<div className={styles.Quality}>{quality && quality !== 'UNKNOWN' ? quality : 'Not Rated'}</div>
</div>
);

Expand Down

0 comments on commit af1cb04

Please sign in to comment.