DTL panel : open proposal corresponding to dialog working for all steps
This commit is contained in:
parent
c2d00e0edf
commit
345bbfea1b
5 changed files with 42 additions and 11 deletions
|
|
@ -8,8 +8,8 @@ export const useDesignToLightStore = defineStore("design-to-light", () => {
|
|||
const isDTLEnabled = page.value.designToLight;
|
||||
return (
|
||||
isDTLEnabled &&
|
||||
page.value.designToLight.some((proposal) =>
|
||||
proposal.path.includes(step.uri)
|
||||
page.value.designToLight.some(
|
||||
(proposal) => proposal.location.step === step.id
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue