Fix going full-screen when opening an external link in a modal
This commit is contained in:
parent
f095be6aac
commit
74b323faa3
|
@ -50,8 +50,12 @@
|
|||
}
|
||||
|
||||
const handleFullscreen = () => {
|
||||
routeStore.actions.navigate($peekStore.url)
|
||||
handleCancel()
|
||||
if ($peekStore.external) {
|
||||
window.location = $peekStore.href
|
||||
} else {
|
||||
routeStore.actions.navigate($peekStore.url)
|
||||
handleCancel()
|
||||
}
|
||||
}
|
||||
|
||||
$: {
|
||||
|
|
Loading…
Reference in New Issue