Temp: Show weight statuses for debugging.

This commit is contained in:
Matthew Stratford 2021-05-12 22:34:28 +01:00
parent e3ee9ada02
commit d79dd32bd6
2 changed files with 9 additions and 0 deletions

View file

@ -87,6 +87,10 @@ export const Item = memo(function Item({
>
Explicit
</small>
<code>
{"weight" in x && x.weight} {index}{" "}
{"weight" in x && x.weight !== index && "!!!!!!!!!!!"}
</code>
</ContextMenuTrigger>
</div>
)}

View file

@ -334,6 +334,11 @@ export function Player({ id }: { id: number }) {
? "LOAD FAILED"
: "No Media Selected"}
</strong>
<code>
{playerState.loadedItem &&
"weight" in playerState.loadedItem &&
playerState.loadedItem.weight}
</code>
<small
className={
"border rounded border-danger text-danger p-1 m-1" +