diff --git a/src/js/components/DropdownField.js b/src/js/components/DropdownField.js index f414c071..1fc019dd 100755 --- a/src/js/components/DropdownField.js +++ b/src/js/components/DropdownField.js @@ -50,8 +50,8 @@ export default class DropdownField extends React.Component{ var icon = if (typeof(this.props.reverse) !== 'undefined'){ - if (this.props.reverse) icon = - else icon = + if (this.props.reverse) icon = + else icon = } return ( diff --git a/src/js/views/library/LibraryAlbums.js b/src/js/views/library/LibraryAlbums.js index e92dea42..8ddd73bc 100755 --- a/src/js/views/library/LibraryAlbums.js +++ b/src/js/views/library/LibraryAlbums.js @@ -164,8 +164,8 @@ class LibraryAlbums extends React.Component{ var actions = ( - this.setSort(value) } /> - this.props.uiActions.set({ library_albums_view: value }) } /> + this.setSort(val)} /> + this.props.uiActions.set({ library_albums_view: val })} /> ) diff --git a/src/js/views/library/LibraryPlaylists.js b/src/js/views/library/LibraryPlaylists.js index 8d8273a5..99269fbc 100755 --- a/src/js/views/library/LibraryPlaylists.js +++ b/src/js/views/library/LibraryPlaylists.js @@ -118,8 +118,8 @@ class LibraryPlaylists extends React.Component{ var actions = (
- this.setSort(value) } /> - this.props.uiActions.set({ library_playlists_view: value }) } /> + this.setSort(val)} /> + this.props.uiActions.set({ library_playlists_view: val}) } />