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, headerText: noFilesHeader,
descriptionText: favoritesDescription, descriptionText: favoritesDescription,
imageSrc: "images/empty_screen_favorites.svg", imageSrc: "images/empty_screen_favorites.svg",
buttons: goToPersonalButtons, buttons: isVisitor ? null : goToPersonalButtons,
}; };
case FolderType.Recent: case FolderType.Recent:
return { return {
headerText: noFilesHeader, headerText: noFilesHeader,
descriptionText: recentDescription, descriptionText: recentDescription,
imageSrc: "images/empty_screen_recent.svg", imageSrc: "images/empty_screen_recent.svg",
buttons: goToPersonalButtons, buttons: isVisitor ? null : goToPersonalButtons,
}; };
case FolderType.Privacy: case FolderType.Privacy:
return { return {