chore: move window.open to platform io to handle desktop app
This commit is contained in:
@@ -199,7 +199,7 @@ const GqlCollectionsGistExporter: ImporterOrExporter = {
|
||||
exporter: "gist",
|
||||
})
|
||||
|
||||
window.open(res.right, "_blank")
|
||||
platform.io.openExternalLink(res.right)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ const HoppEnvironmentsGistExporter: ImporterOrExporter = {
|
||||
platform: "rest",
|
||||
})
|
||||
|
||||
window.open(res.right, "_blank")
|
||||
platform.io.openExternalLink(res.right)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user