mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +00:00
fix: update
This commit is contained in:
parent
1f3436ea97
commit
a290344866
@ -55,7 +55,13 @@ limitations under the License. -->
|
|||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const profileStore = useProfileStore();
|
const profileStore = useProfileStore();
|
||||||
const key = computed(() => (profileStore.currentSpan && profileStore.currentSpan.segmentId) || "");
|
const key = computed(
|
||||||
|
() =>
|
||||||
|
(profileStore.currentSegment &&
|
||||||
|
profileStore.currentSegment.spans.length &&
|
||||||
|
profileStore.currentSegment.spans[0].segmentId) ||
|
||||||
|
"",
|
||||||
|
);
|
||||||
|
|
||||||
async function selectSegment(item: Trace) {
|
async function selectSegment(item: Trace) {
|
||||||
profileStore.setCurrentSegment(item);
|
profileStore.setCurrentSegment(item);
|
||||||
|
Loading…
Reference in New Issue
Block a user