Web:Client:EmptyContainer: fix empty screen for archived room
This commit is contained in:
parent
5e05093a89
commit
0e822663ae
@ -8,6 +8,7 @@
|
||||
"AllFiles": "All files",
|
||||
"Archives": "Archives",
|
||||
"ArchiveEmptyScreen": "You can archive rooms you don’t use and restore them in your DocSpace at any moment or delete them permanently. These rooms will appear here.",
|
||||
"ArchiveEmptyScreenUser": "Rooms that have been archived will appear here.",
|
||||
"ArchiveEmptyScreenHeader": "No archived rooms here yet",
|
||||
"BackToParentFolderButton": "Back to parent folder",
|
||||
"ByAuthor": "Author",
|
||||
|
@ -63,7 +63,9 @@ const RootFolderContainer = (props) => {
|
||||
const roomsDescription = isVisitor
|
||||
? t("RoomEmptyContainerDescriptionUser")
|
||||
: t("RoomEmptyContainerDescription");
|
||||
const archiveRoomsDescription = t("ArchiveEmptyScreen");
|
||||
const archiveRoomsDescription = isVisitor
|
||||
? t("ArchiveEmptyScreenUser")
|
||||
: t("ArchiveEmptyScreen");
|
||||
|
||||
const privateRoomHeader = t("PrivateRoomHeader");
|
||||
const privacyIcon = <img alt="" src="images/privacy.svg" />;
|
||||
@ -289,7 +291,7 @@ const RootFolderContainer = (props) => {
|
||||
</div>
|
||||
);
|
||||
|
||||
const archiveButtons = (
|
||||
const archiveButtons = !isVisitor && (
|
||||
<div className="empty-folder_container-links">
|
||||
<img
|
||||
className="empty-folder_container-image"
|
||||
|
Loading…
Reference in New Issue
Block a user