diff --git a/packages/client/src/store/FilesStore.js b/packages/client/src/store/FilesStore.js index 55d967d875..28169d0983 100644 --- a/packages/client/src/store/FilesStore.js +++ b/packages/client/src/store/FilesStore.js @@ -2384,16 +2384,16 @@ class FilesStore { isArchive ); - const defaultRoomIcon = - isRoom && - getIcon( - iconSize, - fileExst, - providerKey, - contentLength, - roomType, - isArchive - ); + const defaultRoomIcon = isRoom + ? getIcon( + iconSize, + fileExst, + providerKey, + contentLength, + roomType, + isArchive + ) + : undefined; return { access, diff --git a/products/ASC.Files/Service/Startup.cs b/products/ASC.Files/Service/Startup.cs index 4cacbc61f5..d52cc1b4d7 100644 --- a/products/ASC.Files/Service/Startup.cs +++ b/products/ASC.Files/Service/Startup.cs @@ -117,7 +117,7 @@ public class Startup : BaseWorkerStartup boundedChannelCapacity = 100; } - services.AddSingleton(Channel.CreateBounded>>(new BoundedChannelOptions(boundedChannelCapacity) { SingleReader = true, SingleWriter = true })); + services.AddSingleton(Channel.CreateBounded>>(new BoundedChannelOptions(boundedChannelCapacity) { SingleReader = true, SingleWriter = false })); services.AddSingleton(svc => svc.GetRequiredService>>>().Reader); services.AddSingleton(svc => svc.GetRequiredService>>>().Writer); }