mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Update status badge text to use English labels
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user