diff options
author | bob <bcz@cs.brown.edu> | 2019-08-19 12:11:47 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-08-19 12:11:47 -0400 |
commit | 697ee484fc9d5db6cf61397451869b563e97206e (patch) | |
tree | ee67345d7c56601c8ad2ba2be61de7885c71bb46 /src/client/views/nodes/PresBox.tsx | |
parent | e37bf9124c952aa26c3e29deb9e4faa01cad1a7e (diff) |
fixed imports to make presentation compile.
Diffstat (limited to 'src/client/views/nodes/PresBox.tsx')
-rw-r--r-- | src/client/views/nodes/PresBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx index 1bd2ad3c9..91c141540 100644 --- a/src/client/views/nodes/PresBox.tsx +++ b/src/client/views/nodes/PresBox.tsx @@ -752,7 +752,7 @@ export class PresBox extends React.Component<FieldViewProps> { //FieldViewProps? //getting the presentation that will be removed let removedDoc = this.presentationsMapping.get(this.currentSelectedPresValue!); //that presentation is removed - presentationList!.splice(presentationList!.indexOf(removedDoc!), 1); + presentationList!.splice(presentationList.indexOf(removedDoc!), 1); //its mappings are removed from local copies this.presentationsKeyMapping.delete(removedDoc!); |