From e23419c6d4cb8d5e7ed7c56cbda5615af313ca56 Mon Sep 17 00:00:00 2001 From: Akansha Sakhre Date: Mon, 22 Jul 2024 19:39:03 +0530 Subject: [PATCH] added not rated for templates which have unknown quality --- src/containers/Template/List/Template.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Template/List/Template.tsx b/src/containers/Template/List/Template.tsx index 3577a09f8..ff081378c 100644 --- a/src/containers/Template/List/Template.tsx +++ b/src/containers/Template/List/Template.tsx @@ -41,7 +41,7 @@ import { RaiseToGupShup } from './RaiseToGupshupDialog/RaiseToGupShup'; const getLabel = (label: string, quality?: string) => (
{label}
-
{quality || 'Not Rated'}
+
{quality && quality !== 'UNKNOWN' ? quality : 'Not Rated'}
);