Switch tab when opening with ImJoy
This commit is contained in:
parent
9b52865f95
commit
621b99eb9b
1 changed files with 2 additions and 0 deletions
|
|
@ -310,6 +310,7 @@ export default {
|
|||
this.$store.commit("addOpenInImjoyMenuItem", {
|
||||
title: "Kaibu",
|
||||
async callback(name, imageUrl) {
|
||||
self.$root.$emit("globalSwitchTab", "ImJoy");
|
||||
if (!self.viewers.kaibu) {
|
||||
await self.startKaibu();
|
||||
}
|
||||
|
|
@ -323,6 +324,7 @@ export default {
|
|||
this.$store.commit("addOpenInImjoyMenuItem", {
|
||||
title: "ImageJ.JS",
|
||||
async callback(name, imageUrl) {
|
||||
self.$root.$emit("globalSwitchTab", "ImJoy")
|
||||
if (!self.viewers.imagej) {
|
||||
await self.startImageJ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue