@ -21,7 +21,7 @@ const PlanModal = ({ visible, onCreate, onCancel, dispatch, userLoading, userLis
dispatch(getUserList())
dispatch(getProjectList())
}
if (type === 'edit') {
if (type === 'edit' || type === 'view') {
dispatch(positionList({ projectId: curRecord?.project?.id })).then(res => {
if (res.success) {
setPoints(res.payload.data?.rows)