Web: Files: fixed move to public room dialog

This commit is contained in:
Nikita Gopienko 2023-10-30 12:40:10 +03:00
parent 0c472d7074
commit ac29b8c95a

View File

@ -182,6 +182,7 @@ export const convertFoldersToItems = (
const {
id,
title,
roomType,
filesCount,
foldersCount,
security,
@ -190,6 +191,7 @@ export const convertFoldersToItems = (
}: {
id: number;
title: string;
roomType: number;
filesCount: number;
foldersCount: number;
security: Security;
@ -210,6 +212,7 @@ export const convertFoldersToItems = (
parentId,
rootFolderType,
isFolder: true,
roomType,
isDisabled: !!filterParam ? false : disabledItems.includes(id),
};
});