From a92686bc997dee46ba24cbdf340e831e146065d9 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Mon, 4 Feb 2019 15:55:13 +0300 Subject: [PATCH] Resolved #770 --- .../Pages/Documents/Project/Index.cshtml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml index 1ad475d7ce..a070bddecc 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml @@ -139,22 +139,22 @@ } -
-
-
- @if (Model.Document.Contributors.Count > 0) - { +
+
+ @if (Model.Document.Contributors != null && Model.Document.Contributors.Count > 0) + { +
@(L["Contributors"].Value + " :") - } - @foreach (var contributor in Model.Document.Contributors) - { - - - - } -
-
+ @foreach (var contributor in Model.Document.Contributors) + { + + + + } +
+ } +