From 80787a214b94f64c66fb8e8309c21581c28a3c4e Mon Sep 17 00:00:00 2001 From: janbar Date: Wed, 27 Sep 2023 12:28:20 +0200 Subject: [PATCH] reset filter with empty string instead undefined --- gui/controls2_509/ThisDevice/ArtistView.qml | 4 ++-- gui/controls2_509/ThisDevice/ComposerView.qml | 4 ++-- gui/controls2_509/ThisDevice/Genres.qml | 3 ++- gui/controls2_515/ThisDevice/ArtistView.qml | 4 ++-- gui/controls2_515/ThisDevice/ComposerView.qml | 4 ++-- gui/controls2_515/ThisDevice/Genres.qml | 3 ++- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gui/controls2_509/ThisDevice/ArtistView.qml b/gui/controls2_509/ThisDevice/ArtistView.qml index 55c52b75..91bdc2fc 100644 --- a/gui/controls2_509/ThisDevice/ArtistView.qml +++ b/gui/controls2_509/ThisDevice/ArtistView.qml @@ -140,8 +140,8 @@ MusicPage { { "covers": blurredHeader.coverSources, "noCover": blurredHeader.noCover, - "album": undefined, - "albumArtist": undefined, + "album": "", + "albumArtist": "", "artist": artistViewPage.artist, "genre": "", "composer": "", diff --git a/gui/controls2_509/ThisDevice/ComposerView.qml b/gui/controls2_509/ThisDevice/ComposerView.qml index dd535711..90fa7e7f 100644 --- a/gui/controls2_509/ThisDevice/ComposerView.qml +++ b/gui/controls2_509/ThisDevice/ComposerView.qml @@ -140,8 +140,8 @@ MusicPage { { "covers": blurredHeader.coverSources, "noCover": blurredHeader.noCover, - "album": undefined, - "albumArtist": undefined, + "album": "", + "albumArtist": "", "artist": "", "genre": "", "composer": composerViewPage.composer, diff --git a/gui/controls2_509/ThisDevice/Genres.qml b/gui/controls2_509/ThisDevice/Genres.qml index d38e840d..e07406a2 100644 --- a/gui/controls2_509/ThisDevice/Genres.qml +++ b/gui/controls2_509/ThisDevice/Genres.qml @@ -74,7 +74,8 @@ MusicPage { onClicked: { stackView.push("qrc:/controls2/ThisDevice/TrackStackView.qml", { - "album": undefined, + "album": "", + "albumArtist": "", "genre": model.genre, "pageTitle": pageTitle, "line1": "", diff --git a/gui/controls2_515/ThisDevice/ArtistView.qml b/gui/controls2_515/ThisDevice/ArtistView.qml index 55c52b75..91bdc2fc 100644 --- a/gui/controls2_515/ThisDevice/ArtistView.qml +++ b/gui/controls2_515/ThisDevice/ArtistView.qml @@ -140,8 +140,8 @@ MusicPage { { "covers": blurredHeader.coverSources, "noCover": blurredHeader.noCover, - "album": undefined, - "albumArtist": undefined, + "album": "", + "albumArtist": "", "artist": artistViewPage.artist, "genre": "", "composer": "", diff --git a/gui/controls2_515/ThisDevice/ComposerView.qml b/gui/controls2_515/ThisDevice/ComposerView.qml index dd535711..90fa7e7f 100644 --- a/gui/controls2_515/ThisDevice/ComposerView.qml +++ b/gui/controls2_515/ThisDevice/ComposerView.qml @@ -140,8 +140,8 @@ MusicPage { { "covers": blurredHeader.coverSources, "noCover": blurredHeader.noCover, - "album": undefined, - "albumArtist": undefined, + "album": "", + "albumArtist": "", "artist": "", "genre": "", "composer": composerViewPage.composer, diff --git a/gui/controls2_515/ThisDevice/Genres.qml b/gui/controls2_515/ThisDevice/Genres.qml index d38e840d..e07406a2 100644 --- a/gui/controls2_515/ThisDevice/Genres.qml +++ b/gui/controls2_515/ThisDevice/Genres.qml @@ -74,7 +74,8 @@ MusicPage { onClicked: { stackView.push("qrc:/controls2/ThisDevice/TrackStackView.qml", { - "album": undefined, + "album": "", + "albumArtist": "", "genre": model.genre, "pageTitle": pageTitle, "line1": "",