chore: update share button + fixes
This commit is contained in:
parent
f45eb74c0f
commit
593c2a5a09
9 changed files with 37 additions and 51 deletions
|
@ -28,6 +28,11 @@ class NowPlaying extends HTMLElement {
|
|||
const { key } = slot.dataset
|
||||
const value = data[key]
|
||||
|
||||
if (!value || value === typeof undefined) {
|
||||
slot.style.opacity = '0'
|
||||
slot.style.display = 'none'
|
||||
}
|
||||
|
||||
if (cache) {
|
||||
if (key === 'loading') {
|
||||
slot.style.opacity = '0'
|
||||
|
|
Reference in a new issue