diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-17 18:11:26 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-17 18:11:26 +0100 |
| commit | d165a0727e42349d935ab3ee287242f1e5029742 (patch) | |
| tree | b4fa68209127efdd4eb46c82eaef280535692611 /frontend/app/views/graph/components/page.form.js | |
| parent | 92566ba17f5e921d5bff1f3fb4e4b0d92ca4fd39 (diff) | |
frontend. export/view button. interactivity sanity check
Diffstat (limited to 'frontend/app/views/graph/components/page.form.js')
| -rw-r--r-- | frontend/app/views/graph/components/page.form.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/app/views/graph/components/page.form.js b/frontend/app/views/graph/components/page.form.js index 91a40a6..8148864 100644 --- a/frontend/app/views/graph/components/page.form.js +++ b/frontend/app/views/graph/components/page.form.js @@ -4,7 +4,7 @@ import { Link } from 'react-router-dom' import { session } from 'app/session' import { TextInput, ColorInput, Checkbox, LabelDescription, TextArea, SubmitButton, Loader } from 'app/common' -import { AudioSelect } from 'app/views/audio/components/audio.select' +import AudioSelect from 'app/views/audio/components/audio.select' const newPage = (data) => ({ path: '', @@ -15,8 +15,8 @@ const newPage = (data) => ({ x: 0.05, y: 0.05, background_color: '#000000', - audio: "", - restartAudio: false, + background_audio_id: 0, + restart_audio: false, }, ...data, }) @@ -186,8 +186,8 @@ export default class PageForm extends Component { <Checkbox label="Restart audio on load" - name="restartAudio" - checked={data.settings.restartAudio} + name="restart_audio" + checked={data.settings.restart_audio} onChange={this.handleSettingsSelect} autoComplete="off" /> |
