Temp: Show weight statuses for debugging.
This commit is contained in:
parent
e3ee9ada02
commit
d79dd32bd6
2 changed files with 9 additions and 0 deletions
|
@ -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>
|
||||
)}
|
||||
|
|
|
@ -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" +
|
||||
|
|
Loading…
Reference in a new issue