diff --git a/backend/db.js b/backend/db.js index 43a71a2..4eaf108 100644 --- a/backend/db.js +++ b/backend/db.js @@ -1,4 +1,4 @@ -var { callModel: Call } = require("./models/call"); +var Call = require("./models/call"); var Event = require("./models/event"); var Podcast = require("./models/podcast"); diff --git a/frontend/src/Call/CallPlayer.js b/frontend/src/Call/CallPlayer.js index cb71813..30909de 100644 --- a/frontend/src/Call/CallPlayer.js +++ b/frontend/src/Call/CallPlayer.js @@ -217,35 +217,13 @@ function CallPlayer(props) {
- - {/*
- - Donate - - - } />
*/}
Download
Link
- - - - {/* handleAutoPlay(autoPlay)}>Autoplay - - - - - Donate - - - } /> - Download - Link - */} diff --git a/frontend/src/Event/EventPlayer.js b/frontend/src/Event/EventPlayer.js index fad3d3d..505e3a1 100644 --- a/frontend/src/Event/EventPlayer.js +++ b/frontend/src/Event/EventPlayer.js @@ -96,7 +96,10 @@ function EventPlayer(props) { } }, [selectCallId, eventData]) - + let autoplayClassName = "button-item"; + if (autoPlay) { + autoplayClassName += " active"; + } return (
@@ -114,19 +117,20 @@ function EventPlayer(props) { - - handleAutoPlay(autoPlay)}>Autoplay - - - - - Donate - - - } /> - Download - Link - + + +
+
handleAutoPlay(autoPlay)}>Autoplay
+
+ +
+
+ Download +
+
+ Link +
+