Allow folders inside buckets to be opened in a new tab (#7840)

Fixes #7836
This commit is contained in:
Kaan Kabalak 2019-07-05 13:21:06 -07:00 committed by Harshavardhana
parent c4f480a839
commit cc7dc61eb4
2 changed files with 26 additions and 26 deletions

View File

@ -51,7 +51,7 @@ export const ObjectItem = ({
</div>
<div className="fesl-item fesl-item-name">
<a
href="#"
href={getDataType(name, contentType) === "folder" ? name : "#"}
onClick={e => {
e.preventDefault()
if (onClick) {

File diff suppressed because one or more lines are too long