|
@@ -151,7 +151,7 @@ const obj = {
|
|
|
const actionItems = (item) => {
|
|
|
const status = item?.status
|
|
|
const jobClosed = item.job?.status === '1'
|
|
|
- const type = jobClosed && obj[status] ? obj[status].filter(i => i !== 4) : obj[status]
|
|
|
+ const type = jobClosed && obj[status] ? [0] : obj[status]
|
|
|
if (!type || !type.length) return []
|
|
|
let data = type.map(e => actions.value[e])
|
|
|
return data
|