Added an "open in kaibu" link

This commit is contained in:
Richard Bowman 2021-02-09 12:45:48 +00:00
parent 0a0687cdd6
commit cfa5297a23
3 changed files with 114 additions and 58 deletions

View file

@ -14,7 +14,8 @@ export default new Vuex.Store({
trackWindow: true,
IHIEnabled: false,
appTheme: "system",
activeStreams: {}
activeStreams: {},
openInImjoyMenuItems: []
},
mutations: {
@ -56,7 +57,10 @@ export default new Vuex.Store({
},
removeStream(state, id) {
state.activeStreams[id] = false;
}
},
addOpenInImjoyMenuItem(state, newItem) {
state.openInImjoyMenuItems.push(newItem);
} // TODO: add a mutation to remove items when plugins are unloaded
},
actions: {},