fix: error when no step

This commit is contained in:
Methapon Metanipat 2024-11-25 17:26:45 +07:00
parent 0eaa36b204
commit 3bc941dd25

View file

@ -424,9 +424,9 @@ async function triggerViewFile(opt: {
<!-- product --> <!-- product -->
<template <template
v-for="(value, index) in workList?.filter((v) => v-for="(value, index) in workList?.filter((v) =>
v.productService.work?.attributes.workflowStep[ v.productService.work?.attributes.workflowStep?.[
pageState.currentStep - 1 pageState.currentStep - 1
].productsId.includes(v.productService.productId), ]?.productsId.includes(v.productService.productId),
)" )"
:key="value" :key="value"
> >