refactor(FE): Update status badge text to use English labels

This commit is contained in:
rstubryan
2026-02-18 14:50:11 +07:00
parent 15289951e6
commit 02165df89c
2 changed files with 3 additions and 3 deletions
@@ -141,7 +141,7 @@ const ProjectFlockClosingForm = ({
<div className='flex flex-row gap-2'>
<StatusBadge
color={isKandangClosed ? 'error' : 'success'}
text={isKandangClosed ? 'Non-Aktif' : 'Aktif'}
text={isKandangClosed ? 'Closed' : 'Active'}
className={{ badge: 'w-fit text-nowrap' }}
/>
<div className='divider divider-horizontal p-0 m-0'></div>
@@ -235,7 +235,7 @@ const ProjectFlockDetail = ({
).length > 0 && (
<StatusBadge
color='success'
text={`Kandang Aktif (${
text={`Kandang Active (${
projectFlock.kandangs?.filter(
(kandang) => kandang.status !== 'NON_ACTIVE'
).length ?? 0
@@ -249,7 +249,7 @@ const ProjectFlockDetail = ({
).length > 0 && (
<StatusBadge
color='error'
text={`Kandang Non-Aktif (${
text={`Kandang Closed (${
projectFlock.kandangs?.filter(
(kandang) => kandang.status === 'NON_ACTIVE'
).length ?? 0