refactor plant section
This commit is contained in:
@@ -26,38 +26,26 @@ const ListPlantSection = ({
|
||||
title: 'No',
|
||||
dataIndex: 'sub_section_id',
|
||||
key: 'sub_section_id',
|
||||
width: '10%',
|
||||
width: '8%',
|
||||
render: (text, record, index) => index + 1,
|
||||
},
|
||||
{
|
||||
title: 'Kode Sub Section',
|
||||
dataIndex: 'sub_section_code',
|
||||
key: 'sub_section_code',
|
||||
width: '20%',
|
||||
},
|
||||
{
|
||||
title: 'Nama Sub Section',
|
||||
dataIndex: 'sub_section_name',
|
||||
key: 'sub_section_name',
|
||||
width: '35%',
|
||||
},
|
||||
{
|
||||
title: 'Kode Plant',
|
||||
dataIndex: 'kode_plant',
|
||||
key: 'kode_plant',
|
||||
},
|
||||
{
|
||||
title: 'Nama Plant',
|
||||
dataIndex: 'nama_plant',
|
||||
key: 'nama_plant',
|
||||
},
|
||||
{
|
||||
title: 'Lokasi Plant',
|
||||
dataIndex: 'lokasi_plant',
|
||||
key: 'lokasi_plant',
|
||||
},
|
||||
{
|
||||
title: 'Deskripsi',
|
||||
dataIndex: 'deskripsi',
|
||||
key: 'deskripsi',
|
||||
},
|
||||
|
||||
{
|
||||
title: 'Aksi',
|
||||
key: 'action',
|
||||
width: '15%',
|
||||
width: '10%',
|
||||
render: (_, record) => (
|
||||
<Space size="middle">
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user