hotfix in MediaMenu.tsx
This commit is contained in:
1 parent
d5ec20cc50
commit
b76eeffeca
1 file changed
+5
-4
@@ -44,11 +44,12 @@ export default function MediaMenu() {
|
||||
label={bind(psi, "metadata").as(() => `${psi.title}`)}
|
||||
/>
|
||||
<icon
|
||||
icon={bind(psi, "entry").as((e) =>
|
||||
Astal.Icon.lookup_icon(e)
|
||||
icon={bind(psi, "entry").as((e) => {
|
||||
if (!e) return "audio-x-generic-symbolic";
|
||||
return Astal.Icon.lookup_icon(e)
|
||||
? e
|
||||
: "audio-x-generic-symbolic",
|
||||
)}
|
||||
: "audio-x-generic-symbolic";
|
||||
})}
|
||||
/>
|
||||
</box>
|
||||
<label
|
||||
|
||||
Reference in new issue
Block a user