diff --git a/webapp/src/App.vue b/webapp/src/App.vue index e1234a92..2dfbe3d0 100644 --- a/webapp/src/App.vue +++ b/webapp/src/App.vue @@ -321,6 +321,13 @@ export default { ); } } + try { + let hostname = await this.readThingProperty("settings", "hostname"); + this.$store.commit("changeMicroscopeHostname", hostname); + document.title = `OpenFlexure Microscope: ${hostname}`; + } catch { + this.$store.commit("changeMicroscopeHostname", null); + } this.$store.commit("setConnected"); this.$store.commit("setErrorMessage", null); } catch (error) { diff --git a/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue b/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue index 63d12f02..88c06096 100644 --- a/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue +++ b/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue @@ -2,6 +2,11 @@