Updated to new fast_autofocus URI

This commit is contained in:
Joel Collins 2019-04-08 16:19:05 +01:00
parent 1783602174
commit 118ccaab6c
3 changed files with 4 additions and 2 deletions

View file

@ -6,7 +6,7 @@
"author": "OpenFlexure",
"description": "An electron-based user client for the OpenFlexure Microscope Server",
"main": "app.js",
"version": "0.1.1",
"version": "0.1.2-beta",
"license": "GNU General Public License v3.0 ",
"private": true,
"scripts": {

View file

@ -50,9 +50,11 @@ export default {
created: function () {
var context = this
UIkit.util.on(document, 'hidden', '.toggle-hidden', function () {
console.log("Sidebar hidden")
context.$root.$emit('globalResizePreview')
})
UIkit.util.on(document, 'shown', '.toggle-hidden', function () {
console.log("Sidebar shown")
context.$root.$emit('globalResizePreview')
})

View file

@ -282,7 +282,7 @@ export default {
return this.$store.getters.uri + "/plugin/default/autofocus/autofocus"
},
fastAutofocusApiUri: function () {
return this.$store.getters.uri + "/plugin/default/fast_autofocus/fast_autofocus"
return this.$store.getters.uri + "/plugin/default/autofocus/fast_autofocus"
}
}