Web:Client:EmptyContainer: hide Go to personal button for free user

This commit is contained in:
TimofeyBoyko 2022-10-13 16:23:55 +05:00
parent 28b202da04
commit 3d16c8745d

View File

@ -140,14 +140,14 @@ const RootFolderContainer = (props) => {
headerText: noFilesHeader,
descriptionText: favoritesDescription,
imageSrc: "images/empty_screen_favorites.svg",
buttons: goToPersonalButtons,
buttons: isVisitor ? null : goToPersonalButtons,
};
case FolderType.Recent:
return {
headerText: noFilesHeader,
descriptionText: recentDescription,
imageSrc: "images/empty_screen_recent.svg",
buttons: goToPersonalButtons,
buttons: isVisitor ? null : goToPersonalButtons,
};
case FolderType.Privacy:
return {