Add S3 password settings to edit window
This commit is contained in:
@@ -299,6 +299,12 @@ export const path_link = (node: HTMLAnchorElement, data: { nav: FSNavigator, nod
|
||||
|
||||
// Override click handler
|
||||
const click = (e: MouseEvent) => {
|
||||
// Modified clicks open the link in a new tab or window, let the browser
|
||||
// handle those
|
||||
if (e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) {
|
||||
return
|
||||
}
|
||||
|
||||
e.preventDefault()
|
||||
data.nav.navigate(data.node.path, true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user