diff --git a/PlotLine/Views/Shared/_ApplicationShell.cshtml b/PlotLine/Views/Shared/_ApplicationShell.cshtml index 1f16cd61..0fccb66c 100644 --- a/PlotLine/Views/Shared/_ApplicationShell.cshtml +++ b/PlotLine/Views/Shared/_ApplicationShell.cshtml @@ -167,7 +167,7 @@ @group.Label } - @if(category.Key==selectedCategory && book!=null){ + @if(category.Key==selectedCategory && book!=null && category.Key is "writer" or "book" or "story"){
@foreach(var target in new[]{("chapter","Chapter in Word","bible"),("scene","Scene in Word","threads"),("paragraph","Paragraph in Word","point")}){ @@ -210,4 +210,4 @@
-@if(book!=null){} +@if(book!=null && selectedCategory is "writer" or "book" or "story"){} diff --git a/PlotLine/Views/Writer/_WriterAuthoring.cshtml b/PlotLine/Views/Writer/_WriterAuthoring.cshtml index f380ae5a..d3cfd635 100644 --- a/PlotLine/Views/Writer/_WriterAuthoring.cshtml +++ b/PlotLine/Views/Writer/_WriterAuthoring.cshtml @@ -10,7 +10,7 @@ @if(Model.SceneID.HasValue){

Notes and things to remember

-

Scene checklist

@foreach(var item in Model.Sections.Where(x=>x.Kind=="Checklist")){} +

Scene checklist

@foreach(var item in Model.Sections.Where(x=>x.Kind=="Checklist")){}
Scene notes, reminders and working details @foreach(var section in Model.Sections.Where(x=>x.Kind=="Note")){}