Improve archive helper text

This commit is contained in:
Yusuf Sahin HAMZA 2022-01-07 00:06:33 +03:00 committed by Josh Perez
parent 28c1346a25
commit e150353f3f
2 changed files with 7 additions and 1 deletions

View file

@ -117,7 +117,9 @@ export class LeftPaneArchiveHelper extends LeftPaneHelper<LeftPaneArchivePropsTy
return (
<div className="module-left-pane__archive-helper-text">
{i18n('archiveHelperText')}
{this.getRowCount() > 0
? i18n('archiveHelperText')
: i18n('noArchivedConversations')}
</div>
);
}