@industry-theme/principal-view-panels 0.11.17 → 0.11.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/panels.bundle.js
CHANGED
|
@@ -97025,7 +97025,10 @@ const WorkflowScenariosPanel = ({
|
|
|
97025
97025
|
const liveTraces = useMemo(() => {
|
|
97026
97026
|
if (!selectedWorkflowIdProp) return allLiveTraces;
|
|
97027
97027
|
return allLiveTraces.filter(
|
|
97028
|
-
(trace) =>
|
|
97028
|
+
(trace) => {
|
|
97029
|
+
var _a, _b;
|
|
97030
|
+
return ((_a = trace.scenarioMatches) == null ? void 0 : _a.some((match) => match.workflowId === selectedWorkflowIdProp)) || ((_b = trace.storyboardMatches) == null ? void 0 : _b.some((match) => match.workflowId === selectedWorkflowIdProp));
|
|
97031
|
+
}
|
|
97029
97032
|
);
|
|
97030
97033
|
}, [allLiveTraces, selectedWorkflowIdProp]);
|
|
97031
97034
|
const [state, setState] = useState({
|