diff options
author | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-19 14:14:28 +0800 |
---|---|---|
committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-19 14:14:28 +0800 |
commit | 10754a14c8d0dda68f2484e523f6901b3e7daee3 (patch) | |
tree | 7e7495746624949a3b9f7da85f3967af9e9e6b9e /src/client/views/nodes/AudioBox.tsx | |
parent | cb5fa90bb580c2d618e279275c1e2cb49ce3d90c (diff) |
css changes and bug fixes
Presentation
Undo / Redo
Image upload
Record Audio
Diffstat (limited to 'src/client/views/nodes/AudioBox.tsx')
-rw-r--r-- | src/client/views/nodes/AudioBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx index 2e0be1c6a..cb0582d87 100644 --- a/src/client/views/nodes/AudioBox.tsx +++ b/src/client/views/nodes/AudioBox.tsx @@ -161,7 +161,7 @@ export class AudioBox extends ViewBoxBaseComponent<FieldViewProps, AudioDocument const funcs: ContextMenuProps[] = []; funcs.push({ description: (this.layoutDoc.playOnSelect ? "Don't play" : "Play") + " when document selected", event: () => this.layoutDoc.playOnSelect = !this.layoutDoc.playOnSelect, icon: "expand-arrows-alt" }); - ContextMenu.Instance.addItem({ description: "Options...", subitems: funcs, icon: "asterisk" }); + ContextMenu.Instance?.addItem({ description: "Options...", subitems: funcs, icon: "asterisk" }); } stopRecording = action(() => { |