show in slider

This commit is contained in:
hamid zarghami
2025-04-21 14:12:16 +03:30
parent 36d56dfe20
commit aacbbe672a
6 changed files with 50 additions and 1 deletions
+8
View File
@@ -14,6 +14,7 @@ import moment from 'moment-jalaali'
import Pagination from '../../components/Pagination'
import ToggleStatusService from './components/ToggleStatusService'
import CheckBoxComponent from '../../components/CheckBoxComponent'
import ToggleSliderService from './components/ToggleSliderService'
const ListService: FC = () => {
@@ -109,6 +110,7 @@ const ListService: FC = () => {
<Td text={t('service.publish_date')} />
<Td text={t('service.plans')} />
<Td text={t('ticket.status')} />
<Td text={t('service.slider')} />
<Td text={t('ticket.detail')} />
<Td text={''} />
</tr>
@@ -153,6 +155,12 @@ const ListService: FC = () => {
status={item.isActive}
/>
</Td>
<Td text={''}>
<ToggleSliderService
id={item.id}
status={item.showInSlider}
/>
</Td>
<Td text={''}>
<Link to={Pages.services.update + item.id}>
<Eye size={20} color='#8C90A3' />