Skip to content

Commit 3fa94e0

Browse files
committed
Fix ID in popup is null when trackId is present from baps but null.
1 parent 35398d2 commit 3fa94e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/showplanner/Item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export const Item = memo(function Item({
167167
);
168168
}
169169
data.push(
170-
"ID: " + ("trackid" in x ? x.trackid : "managedid" in x && x.managedid)
170+
"ID: " + ("trackid" in x && x.trackid ? x.trackid : "managedid" in x && x.managedid ? x.managedid : "None" )
171171
);
172172
if (showDebug) {
173173
data.push(

0 commit comments

Comments
 (0)