Merge branch 'reload-background-tab' into 'v3'

Reload background detect settings when tab opened

Closes #551

See merge request openflexure/openflexure-microscope-server!385
This commit is contained in:
Julian Stirling 2025-09-09 16:24:36 +00:00 committed by GitLab
commit fd70c8a558
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
<template>
<div class="uk-padding-small">
<div class="uk-padding-small" v-observe-visibility="visibilityChanged">
<div>
<ul uk-accordion="multiple: true">
<li>
@ -30,7 +30,7 @@
/>
</div>
<div class="uk-margin">
<!--Once status is read this should be disabled id not ready..-->
<!--Once status is read this should be disabled if not ready..-->
<action-button
thing="camera"
action="image_is_sample"
@ -71,6 +71,11 @@ export default {
},
methods: {
visibilityChanged(isVisible) {
if (isVisible) {
this.readSettings();
}
},
alertBackgroundSet() {
this.modalNotify(`Background image has been updated`);
},