aboutsummaryrefslogtreecommitdiff
path: root/src/page_artists.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/page_artists.go')
-rw-r--r--src/page_artists.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page_artists.go b/src/page_artists.go
index eeb10b7..bfaae56 100644
--- a/src/page_artists.go
+++ b/src/page_artists.go
@@ -28,7 +28,7 @@ func (a *app) artistsPage() tview.Primitive {
28 28
29 sel := node.GetReference().(selection) 29 sel := node.GetReference().(selection)
30 if sel.entryType == "artist" { 30 if sel.entryType == "artist" {
31 if node.GetChildren() != nil || len(node.GetChildren()) == 0 { 31 if node.GetChildren() == nil || len(node.GetChildren()) == 0 {
32 artist, err := a.sub.GetArtist(sel.id) 32 artist, err := a.sub.GetArtist(sel.id)
33 if err != nil { 33 if err != nil {
34 LogErrorf("loading artist '%s': %v", sel.id, err) 34 LogErrorf("loading artist '%s': %v", sel.id, err)