This commit is contained in:
Benjamin Gamard 2018-11-28 13:09:20 +01:00
parent 3902d6361e
commit 33aaf8afd2
2 changed files with 5 additions and 1 deletions

View File

@ -290,7 +290,7 @@ public class FileResource extends BaseResource {
DocumentDao documentDao = new DocumentDao();
FileDao fileDao = new FileDao();
File file = fileDao.getFile(id);
if (file == null) {
if (file == null || file.getDocumentId() == null) {
throw new NotFoundException();
}
DocumentDto documentDto = documentDao.getDocument(file.getDocumentId(), PermType.WRITE, getTargetIdList(null));

View File

@ -653,6 +653,10 @@ input[readonly].share-link {
}
}
.navbar-brand {
font-weight: 500;
}
.nav > li {
font-weight: 500;
}