Web:Client:EmptyContainer: hide Go to personal button for free user
This commit is contained in:
parent
28b202da04
commit
3d16c8745d
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user