Skip to content

Commit

Permalink
Fix bug in spotifyuser
Browse files Browse the repository at this point in the history
  • Loading branch information
bewee committed Mar 29, 2020
1 parent 39b12df commit 226ddf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/properties/spotifyuser-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SpotifyuserProperty extends Property {

// update value (given in 'netremote.spotify.username' format)
updateValue(value) {
this.setCachedValueAndNotify(value);
this.setCachedValueAndNotify(value?value:'');
}
}

Expand Down

0 comments on commit 226ddf2

Please sign in to comment.