From 3060b7010ebdb269e7b99cd48193f2cb5ced9072 Mon Sep 17 00:00:00 2001 From: aj Date: Thu, 6 Feb 2020 13:32:40 +0000 Subject: [PATCH] ui changes, consistent material selects, hid recommendations when disabled --- src/js/MusicTools.js | 4 ++-- src/js/Playlist/PlaylistsList.js | 2 +- src/js/Playlist/View/Edit.js | 25 ++++++++++++------------- src/js/Tag/TagList.js | 2 +- src/js/Tag/View.js | 11 +++++------ 5 files changed, 21 insertions(+), 23 deletions(-) diff --git a/src/js/MusicTools.js b/src/js/MusicTools.js index 32b320d..d667ad5 100644 --- a/src/js/MusicTools.js +++ b/src/js/MusicTools.js @@ -7,7 +7,7 @@ import showMessage from "./Toast.js" import GlobalTheme from './Theme.js'; -import { Typography } from '@material-ui/core'; +import { Typography, CircularProgress } from '@material-ui/core'; import { ThemeProvider } from '@material-ui/core/styles'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; @@ -171,7 +171,7 @@ class MusicTools extends Component { } function LoadingMessage(props) { - return Loading...; + return ; } export default MusicTools; \ No newline at end of file diff --git a/src/js/Playlist/PlaylistsList.js b/src/js/Playlist/PlaylistsList.js index 4565160..b7186ab 100644 --- a/src/js/Playlist/PlaylistsList.js +++ b/src/js/Playlist/PlaylistsList.js @@ -110,7 +110,7 @@ function PlaylistGrid(props){ justify="flex-start" alignItems="flex-start" style={{padding: '24px'}}> - + + { this.state.include_recommendations == true && - + } { this.state.type == 'fmchart' && Chart Range @@ -552,7 +552,6 @@ export class Edit extends Component{ Type diff --git a/src/js/Tag/TagList.js b/src/js/Tag/TagList.js index 9b334a3..ed60a9b 100644 --- a/src/js/Tag/TagList.js +++ b/src/js/Tag/TagList.js @@ -68,7 +68,7 @@ function TagGrid(props){ justify="flex-start" alignItems="flex-start" style={{padding: '24px'}}> - + } - + Type