diff --git a/packages/client/public/locales/en/Files.json b/packages/client/public/locales/en/Files.json index d94d4aff91..c91453f6f2 100644 --- a/packages/client/public/locales/en/Files.json +++ b/packages/client/public/locales/en/Files.json @@ -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", diff --git a/packages/client/src/components/EmptyContainer/RootFolderContainer.js b/packages/client/src/components/EmptyContainer/RootFolderContainer.js index 73cb33da20..b923797be2 100644 --- a/packages/client/src/components/EmptyContainer/RootFolderContainer.js +++ b/packages/client/src/components/EmptyContainer/RootFolderContainer.js @@ -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 = ; @@ -289,7 +291,7 @@ const RootFolderContainer = (props) => { ); - const archiveButtons = ( + const archiveButtons = !isVisitor && (