Merge pull request #182 from ONLYOFFICE/bugfix/remove-favorites
Bugfix/remove-favorites
This commit is contained in:
commit
af45e43f00
@ -541,6 +541,7 @@ class FilesRowContent extends React.PureComponent {
|
||||
: { onClick: this.onFilesClick };
|
||||
const showNew = !!newItems;
|
||||
|
||||
//console.log(fileStatus);
|
||||
return isEdit ? (
|
||||
<EditingWrapperComponent
|
||||
itemTitle={itemTitle}
|
||||
@ -624,7 +625,7 @@ class FilesRowContent extends React.PureComponent {
|
||||
hoverColor="#3B72A7"
|
||||
/>
|
||||
)}
|
||||
{fileStatus === 32 && !isTrashFolder && (
|
||||
{fileStatus === 96 && !isTrashFolder && (
|
||||
<Icons.FavoriteIcon
|
||||
className="favorite"
|
||||
size="small"
|
||||
|
@ -712,7 +712,7 @@ const getFilesContextOptions = (
|
||||
const options = [];
|
||||
|
||||
const isFile = !!item.fileExst;
|
||||
const isFavorite = item.fileStatus === 32;
|
||||
const isFavorite = item.fileStatus === 96;
|
||||
const isFullAccess = item.access < 2;
|
||||
const isThirdPartyFolder = item.providerKey && isRootFolder;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user