diff --git a/web_client/src/components/ControlPanel.vue b/web_client/src/components/ControlPanel.vue index 17302499..0a85cd40 100644 --- a/web_client/src/components/ControlPanel.vue +++ b/web_client/src/components/ControlPanel.vue @@ -132,6 +132,9 @@ export default { .catch(this.handleNavigationError); } }, + slideToFrame(framePosition) { + this.navigateToFrame(this.currentViewData.scanFramesList[framePosition - 1]); + }, updateImage() { if (this.direction === 'back') { this.navigateToFrame(this.previousFrame); @@ -337,7 +340,8 @@ export default { class="grey--text" style="display:inline" > - {{ currentViewData.scanPositionString }} + ({{ currentViewData.scanPosition }} / + {{ currentViewData.experimentScansList.length }})