Fixes #467. Set the default document name if it's empty.

pull/473/head
Alper Ebicoglu 6 years ago
parent 8f79d87def
commit ad71967b2d

@ -69,7 +69,11 @@ namespace Volo.Docs.Pages.Documents.Project
ProjectFormat = projectDto.Format;
if (DocumentName.IsNullOrWhiteSpace())
{
DocumentName = projectDto.DefaultDocumentName;
}
DocumentNameWithExtension = DocumentName + "." + projectDto.Format;
var versions = await _documentAppService.GetVersions(projectDto.ShortName, projectDto.DefaultDocumentName,

Loading…
Cancel
Save