diff --git a/src/assets/manifest.json b/src/assets/manifest.json new file mode 100755 index 00000000..13482647 --- /dev/null +++ b/src/assets/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "Iris", + "name": "Iris", + "icons": [ + { + "src": "/iris/assets/favicon.ico", + "type": "image/png", + "sizes": "48x48" + } + ], + "start_url": "/iris/index.html", + "background_color": "#08d58f", + "theme_color": "#222222", + "display": "standalone" +} \ No newline at end of file diff --git a/src/index.html b/src/index.html index 4338e6ec..3e6adb09 100755 --- a/src/index.html +++ b/src/index.html @@ -16,6 +16,8 @@ + + diff --git a/src/js/components/ArtistGrid.js b/src/js/components/ArtistGrid.js index 593a0d21..d6def038 100755 --- a/src/js/components/ArtistGrid.js +++ b/src/js/components/ArtistGrid.js @@ -44,7 +44,7 @@ class ArtistGrid extends React.Component{
{ artist.name }
{artist.followers ? artist.followers.total.toLocaleString()+' followers' : null} - {artist.albums_uris ? artist.albums_uris.length+' albums' : null} + {artist.albums_uris && !artist.followers ? artist.albums_uris.length+' albums' : null}
)