fix(labelnossr): fix bug
This commit is contained in:
@@ -98,7 +98,7 @@ export default function PersonalTaskTable() {
|
||||
variant="transparent"
|
||||
onClick={async () => {
|
||||
setCurrentRowId(record.id)
|
||||
if ([4, 5, 6].includes(record.label_type)) {
|
||||
if ([4, 5, 6, 7].includes(record.label_type)) {
|
||||
setBackProps(`/project/person`)
|
||||
router.push(
|
||||
`/label?project_id=${record.project_id}&task_id=${record.id}`
|
||||
|
||||
@@ -303,7 +303,7 @@ export default function TaskTableContainer(props: {
|
||||
})
|
||||
return
|
||||
}
|
||||
if (![2, 4, 6].includes(resultData.status)) {
|
||||
if (![2, 4, 6, 7].includes(resultData.status)) {
|
||||
notifications.show({
|
||||
color: "red",
|
||||
title: "错误",
|
||||
|
||||
Reference in New Issue
Block a user