From 5cafa9d43b769e6f60740f59293ddf3588e7b8ad Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 1 Apr 2021 15:31:52 +0200 Subject: migration: add settings to uploads. cursor upload --- frontend/app/views/graph/components/audio.list.js | 31 ++++++++++------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'frontend/app/views/graph/components/audio.list.js') diff --git a/frontend/app/views/graph/components/audio.list.js b/frontend/app/views/graph/components/audio.list.js index 011ab08..7587028 100644 --- a/frontend/app/views/graph/components/audio.list.js +++ b/frontend/app/views/graph/components/audio.list.js @@ -114,19 +114,21 @@ class AudioList extends Component { /> {graph.uploads.map(upload => ( -
this.toggleAudio(upload)} > - -
-
{unslugify(upload.fn)}
+ upload.tag === 'audio' && ( +
this.toggleAudio(upload)} > + +
+
{unslugify(upload.fn)}
+
-
+ ) ))}
) @@ -141,8 +143,3 @@ const mapDispatchToProps = dispatch => ({ }) export default connect(mapStateToProps, mapDispatchToProps)(AudioList) - - -/* - - upload new audio file - */ \ No newline at end of file -- cgit v1.2.3-70-g09d2