From 7d604e57b0e791f8c9dcb17ea111bd9cc2a60766 Mon Sep 17 00:00:00 2001 From: Dunqing Date: Sat, 23 Mar 2024 00:09:08 +0800 Subject: [PATCH] feat(playground): display referenceId in symbol tab (#2790) image --- website/playground/symbols.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/playground/symbols.js b/website/playground/symbols.js index eae626b569e7d..e7d2779486f8f 100644 --- a/website/playground/symbols.js +++ b/website/playground/symbols.js @@ -27,7 +27,7 @@ export const renderSymbols = (symbols) => { symbolId: index, nodeId, span: symbols.spans[index], - references: symbols.resolvedReferences[index].map((id) => symbols.references[id]), + references: symbols.resolvedReferences[index].map((id) => ({ referenceId: id, ...symbols.references[id] })), }) }) cacheSymbols = target