show attachments if premium or org item

This commit is contained in:
Kyle Spearrin 2018-01-26 11:02:35 -05:00
parent 9a399e06f3
commit 0ffc6e4a1a

View file

@ -314,7 +314,7 @@ namespace Bit.App.Pages
{ {
Table.Root.Remove(AttachmentsSection); Table.Root.Remove(AttachmentsSection);
} }
if(Model.ShowAttachments && _tokenService.TokenPremium) if(Model.ShowAttachments && (_tokenService.TokenPremium || cipher.OrganizationId != null))
{ {
AttachmentsSection = new TableSection(AppResources.Attachments); AttachmentsSection = new TableSection(AppResources.Attachments);
AttachmentCells = new List<AttachmentViewCell>(); AttachmentCells = new List<AttachmentViewCell>();