Transfers of stacks and using ndarrays

This commit is contained in:
Richard 2021-05-11 21:43:33 +01:00
parent 782ff05477
commit b0f26f1b1e
3 changed files with 168 additions and 9 deletions

View file

@ -15,7 +15,8 @@ export default new Vuex.Store({
IHIEnabled: false,
appTheme: "system",
activeStreams: {},
openInImjoyMenuItems: []
openInImjoyMenuItems: [],
openScanInImjoyMenuItems: []
},
mutations: {
@ -60,6 +61,9 @@ export default new Vuex.Store({
},
addOpenInImjoyMenuItem(state, newItem) {
state.openInImjoyMenuItems.push(newItem);
}, // TODO: add a mutation to remove items when plugins are unloaded
addOpenScanInImjoyMenuItem(state, newItem) {
state.openScanInImjoyMenuItems.push(newItem);
} // TODO: add a mutation to remove items when plugins are unloaded
},