mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 03:05:23 +00:00
fix
This commit is contained in:
parent
04cc55a879
commit
a63359c036
@ -97,7 +97,9 @@ limitations under the License. -->
|
||||
const traceOptions = ref<{ type: string; filters?: unknown }>({
|
||||
type: WidgetType.Trace,
|
||||
});
|
||||
const refIdType = computed(() => props.config.relatedTrace && props.config.relatedTrace.refIdType);
|
||||
const refIdType = computed(
|
||||
() => (props.config.relatedTrace && props.config.relatedTrace.refIdType) || RefIdTypes[0].value,
|
||||
);
|
||||
const key = computed(() => Object.keys(props.data)[0] || "");
|
||||
const available = computed(
|
||||
() => Array.isArray(props.data[key.value]) && props.data[key.value][0] && props.data[key.value][0].value,
|
||||
|
Loading…
Reference in New Issue
Block a user