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
|
Explicit
|
||||||
</small>
|
</small>
|
||||||
|
<code>
|
||||||
|
{"weight" in x && x.weight} {index}{" "}
|
||||||
|
{"weight" in x && x.weight !== index && "!!!!!!!!!!!"}
|
||||||
|
</code>
|
||||||
</ContextMenuTrigger>
|
</ContextMenuTrigger>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -334,6 +334,11 @@ export function Player({ id }: { id: number }) {
|
||||||
? "LOAD FAILED"
|
? "LOAD FAILED"
|
||||||
: "No Media Selected"}
|
: "No Media Selected"}
|
||||||
</strong>
|
</strong>
|
||||||
|
<code>
|
||||||
|
{playerState.loadedItem &&
|
||||||
|
"weight" in playerState.loadedItem &&
|
||||||
|
playerState.loadedItem.weight}
|
||||||
|
</code>
|
||||||
<small
|
<small
|
||||||
className={
|
className={
|
||||||
"border rounded border-danger text-danger p-1 m-1" +
|
"border rounded border-danger text-danger p-1 m-1" +
|
||||||
|
|
Loading…
Reference in a new issue