fix: Explicitly type label as string in statutBodyTemplate
This commit is contained in:
@@ -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':
|
||||||
|
|||||||
2
push.bat
2
push.bat
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user