Implementing downloadMedia in web environments (#2602)

This commit is contained in:
Emma
2022-09-21 08:00:34 +02:00
committed by GitHub
parent 60166eb6b2
commit c4722c9533
+2 -2
View File
@@ -209,7 +209,7 @@ const actions = {
const ipcRenderer = require('electron').ipcRenderer
ipcRenderer.send(IpcChannels.OPEN_EXTERNAL_LINK, url)
} else {
// Web placeholder
window.open(url, '_blank')
}
},
@@ -256,7 +256,7 @@ const actions = {
let folderPath = rootState.settings.downloadFolderPath
if (!process.env.IS_ELECTRON) {
// Add logic here in the future
dispatch('openExternalLink', url)
return
}