From 39e520048c2db64a937f0b33c534be3f8a3eb5fd Mon Sep 17 00:00:00 2001 From: Sebastien Arod Date: Sat, 8 Jun 2024 16:37:00 +0200 Subject: [PATCH] feat: grayscale aussi sur les ex-resistants avec video --- src/routes/Liste/List/ResistantRow.tsx | 1 + src/routes/Liste/Thumbs/ResistantThumb.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/routes/Liste/List/ResistantRow.tsx b/src/routes/Liste/List/ResistantRow.tsx index d0ab232..9a4e785 100644 --- a/src/routes/Liste/List/ResistantRow.tsx +++ b/src/routes/Liste/List/ResistantRow.tsx @@ -49,6 +49,7 @@ export const ResistantRow = ({ resistant }: Props) => { width={"200"} height={"200"} onClick={() => navigate(resistant.id)} + style={getResistantGrayscaleRule(resistant)} /> ) : ( { height={"200"} className="resistant-thumb" onClick={handleClick} + style={getResistantGrayscaleRule(resistant)} /> ); }