@industry-theme/principal-view-panels 0.6.3 → 0.6.5
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
|
@@ -48638,7 +48638,7 @@ function severityToNumber(severity) {
|
|
|
48638
48638
|
return severityMap[severity] || 9;
|
|
48639
48639
|
}
|
|
48640
48640
|
function convertSpanEvents(span) {
|
|
48641
|
-
return span.events.map((event) => ({
|
|
48641
|
+
return (span.events || []).map((event) => ({
|
|
48642
48642
|
name: event.name,
|
|
48643
48643
|
timestamp: event.time,
|
|
48644
48644
|
type: "span",
|
|
@@ -51238,7 +51238,7 @@ const WorkflowScenariosPanel = ({
|
|
|
51238
51238
|
const spans = ExecutionLoader.getSpans(prev.execution);
|
|
51239
51239
|
const allEvents = [];
|
|
51240
51240
|
for (const span of spans) {
|
|
51241
|
-
if (span.events) {
|
|
51241
|
+
if (span == null ? void 0 : span.events) {
|
|
51242
51242
|
for (const event2 of span.events) {
|
|
51243
51243
|
allEvents.push({
|
|
51244
51244
|
name: event2.name,
|
|
@@ -51288,7 +51288,7 @@ const WorkflowScenariosPanel = ({
|
|
|
51288
51288
|
const spans = ExecutionLoader.getSpans(state.hoveredExecution);
|
|
51289
51289
|
const allEvents = [];
|
|
51290
51290
|
for (const span of spans) {
|
|
51291
|
-
if (span.events) {
|
|
51291
|
+
if (span == null ? void 0 : span.events) {
|
|
51292
51292
|
for (const event of span.events) {
|
|
51293
51293
|
allEvents.push({
|
|
51294
51294
|
name: event.name,
|
|
@@ -51321,7 +51321,7 @@ const WorkflowScenariosPanel = ({
|
|
|
51321
51321
|
const spans = ExecutionLoader.getSpans(state.execution);
|
|
51322
51322
|
const allEvents = [];
|
|
51323
51323
|
for (const span of spans) {
|
|
51324
|
-
if (span.events) {
|
|
51324
|
+
if (span == null ? void 0 : span.events) {
|
|
51325
51325
|
for (const event of span.events) {
|
|
51326
51326
|
allEvents.push({
|
|
51327
51327
|
name: event.name,
|