Fix Bug 57980: wrong tip position
This commit is contained in:
parent
e06c076f80
commit
ca799f867f
@ -99,11 +99,6 @@ const FileTile = (props) => {
|
||||
getContextModel={getContextModel}
|
||||
hideContextMenu={onHideContextMenu}
|
||||
t={t}
|
||||
title={
|
||||
item.isFolder
|
||||
? t("Translations:TitleShowFolderActions")
|
||||
: t("Translations:TitleShowActions")
|
||||
}
|
||||
showHotkeyBorder={showHotkeyBorder}
|
||||
setSelection={setSelection}
|
||||
>
|
||||
|
@ -415,10 +415,10 @@ class Tile extends React.PureComponent {
|
||||
inProgress,
|
||||
isEdit,
|
||||
contentElement,
|
||||
title,
|
||||
getContextModel,
|
||||
showHotkeyBorder,
|
||||
hideContextMenu,
|
||||
t,
|
||||
} = this.props;
|
||||
const { isFolder, id, fileExst } = item;
|
||||
|
||||
@ -458,6 +458,10 @@ class Tile extends React.PureComponent {
|
||||
title: children[0].props.item.title,
|
||||
};
|
||||
|
||||
const title = item.isFolder
|
||||
? t("Translations:TitleShowFolderActions")
|
||||
: t("Translations:TitleShowActions");
|
||||
|
||||
return (
|
||||
<StyledTile
|
||||
ref={this.tile}
|
||||
|
Loading…
Reference in New Issue
Block a user