Replace loose equality (==) with strict equality (===) for ID comparisons
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -360,7 +360,7 @@ async function switchDataLayerType(type, option) {
|
||||
* @param {object} e - Object containing the trace id.
|
||||
*/
|
||||
async function switchTraceId(e) {
|
||||
if (e.id == traceId.value) return;
|
||||
if (e.id === traceId.value) return;
|
||||
isLoading.value = true;
|
||||
traceId.value = e.id;
|
||||
await allMapDataStore.getTraceDetail();
|
||||
|
||||
Reference in New Issue
Block a user