Display the microscope's hostname in the interface

This commit is contained in:
Richard Bowman 2024-01-17 11:55:03 +00:00
parent 36a7ec3d2e
commit 674704b0d6
3 changed files with 17 additions and 1 deletions

View file

@ -91,7 +91,8 @@ export default new Vuex.Store({
imjoyEnabled: false,
galleryEnabled: true,
appTheme: "system",
activeStreams: {}
activeStreams: {},
microscopeHostname: ""
},
mutations: {
@ -144,6 +145,9 @@ export default new Vuex.Store({
},
removeStream(state, id) {
state.activeStreams[id] = false;
},
changeMicroscopeHostname(state, value) {
state.microscopeHostname = value;
}
},