message: fixing gallery load error
diff: @@ -20,13 +20,19 @@ export module DirectoryDTO {
  dir.media.forEach((media: MediaDTO) => {
  media.directory = dir;
  });
  +
  + if (dir.metaFile) {
  dir.metaFile.forEach((file: FileDTO) => {
  file.directory = dir;
  });
  + }
  +
  + if (dir.directories) {
  dir.directories.forEach((directory: DirectoryDTO) => {
  addReferences(directory);
  directory.parent = dir;
  });
  + }
  };
  export const removeReferences = (dir: DirectoryDTO): void => {
  