Skip to content

Commit

Permalink
reset filter with empty string instead undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Sep 27, 2023
1 parent 229b600 commit 80787a2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions gui/controls2_509/ThisDevice/ArtistView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ MusicPage {
{
"covers": blurredHeader.coverSources,
"noCover": blurredHeader.noCover,
"album": undefined,
"albumArtist": undefined,
"album": "",
"albumArtist": "",
"artist": artistViewPage.artist,
"genre": "",
"composer": "",
Expand Down
4 changes: 2 additions & 2 deletions gui/controls2_509/ThisDevice/ComposerView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ MusicPage {
{
"covers": blurredHeader.coverSources,
"noCover": blurredHeader.noCover,
"album": undefined,
"albumArtist": undefined,
"album": "",
"albumArtist": "",
"artist": "",
"genre": "",
"composer": composerViewPage.composer,
Expand Down
3 changes: 2 additions & 1 deletion gui/controls2_509/ThisDevice/Genres.qml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ MusicPage {
onClicked: {
stackView.push("qrc:/controls2/ThisDevice/TrackStackView.qml",
{
"album": undefined,
"album": "",
"albumArtist": "",
"genre": model.genre,
"pageTitle": pageTitle,
"line1": "",
Expand Down
4 changes: 2 additions & 2 deletions gui/controls2_515/ThisDevice/ArtistView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ MusicPage {
{
"covers": blurredHeader.coverSources,
"noCover": blurredHeader.noCover,
"album": undefined,
"albumArtist": undefined,
"album": "",
"albumArtist": "",
"artist": artistViewPage.artist,
"genre": "",
"composer": "",
Expand Down
4 changes: 2 additions & 2 deletions gui/controls2_515/ThisDevice/ComposerView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ MusicPage {
{
"covers": blurredHeader.coverSources,
"noCover": blurredHeader.noCover,
"album": undefined,
"albumArtist": undefined,
"album": "",
"albumArtist": "",
"artist": "",
"genre": "",
"composer": composerViewPage.composer,
Expand Down
3 changes: 2 additions & 1 deletion gui/controls2_515/ThisDevice/Genres.qml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ MusicPage {
onClicked: {
stackView.push("qrc:/controls2/ThisDevice/TrackStackView.qml",
{
"album": undefined,
"album": "",
"albumArtist": "",
"genre": model.genre,
"pageTitle": pageTitle,
"line1": "",
Expand Down

0 comments on commit 80787a2

Please sign in to comment.