Added an "open in kaibu" link
This commit is contained in:
parent
0a0687cdd6
commit
cfa5297a23
3 changed files with 114 additions and 58 deletions
|
|
@ -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: {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue