fix: Explicitly type label as string in statutBodyTemplate

This commit is contained in:
dahoud
2025-10-16 09:12:14 +00:00
parent 20c7bbada3
commit c377291608
2 changed files with 2 additions and 2 deletions

View File

@@ -359,7 +359,7 @@ const ChiffreAffairesPage = () => {
const statutBodyTemplate = (rowData: CADetail) => { const statutBodyTemplate = (rowData: CADetail) => {
let severity: "success" | "warning" | "danger" = 'success'; let severity: "success" | "warning" | "danger" = 'success';
let label = rowData.statut; let label: string = rowData.statut;
switch (rowData.statut) { switch (rowData.statut) {
case 'PAYE': case 'PAYE':

View File

@@ -1,5 +1,5 @@
@echo off @echo off
git add . git add .
git commit -m "fix: Explicitly type label as string in typeBodyTemplate" git commit -m "fix: Explicitly type label as string in statutBodyTemplate"
git push https://lionsdev:lions%402025@git.lions.dev/lionsdev/btpxpress-frontend.git main git push https://lionsdev:lions%402025@git.lions.dev/lionsdev/btpxpress-frontend.git main