|
|
|
@ -7,8 +7,7 @@ import { Transfer, Spin } from 'antd';
|
|
|
|
|
import 'antd/dist/antd.css'; |
|
|
|
|
import { NotificationManager } from 'react-notifications'; |
|
|
|
|
|
|
|
|
|
const AssignK3Project = ({ openDialog, closeDialog, toggleDialog, idTask, dataK3, proyekName }) => { |
|
|
|
|
const token = localStorage.getItem("token") |
|
|
|
|
const AssignK3Project = ({ openDialog, closeDialog, toggleDialog, idTask, dataK3, proyekName, token }) => { |
|
|
|
|
const [loading, setLoading] = useState(true); |
|
|
|
|
|
|
|
|
|
const HEADER = { |
|
|
|
@ -111,6 +110,9 @@ const AssignK3Project = ({ openDialog, closeDialog, toggleDialog, idTask, dataK3
|
|
|
|
|
}}> |
|
|
|
|
<Transfer |
|
|
|
|
showSearch |
|
|
|
|
filterOption={(inputValue, option) => |
|
|
|
|
option.title.toLowerCase().includes(inputValue.toLowerCase()) |
|
|
|
|
} |
|
|
|
|
titles={['Available K3', 'Assigned to Project']} |
|
|
|
|
dataSource={dataK3} |
|
|
|
|
targetKeys={targetKeys} |
|
|
|
|