From a940c0fa1afcb030d27dd7c8ae417302a8b51223 Mon Sep 17 00:00:00 2001 From: Oliver Buchtala Date: Thu, 23 Apr 2020 09:11:13 +0200 Subject: [PATCH] Jump to attached files and resources. --- src/components/SmartFigureEditor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SmartFigureEditor.js b/src/components/SmartFigureEditor.js index 648f27c..44108b0 100644 --- a/src/components/SmartFigureEditor.js +++ b/src/components/SmartFigureEditor.js @@ -267,8 +267,8 @@ export default class SmartFigureEditor extends AbstractEditor { // nothing } } else if (sel.customType === 'value') { - // TODO: maybe jump to ref'd item? - // this.api.selectItem(sel.data.valueId) + // jumping to the selected item + this.api.selectItem(sel.data.valueId) } } }