diff --git a/Wave/Components/AdvancedMarkdownEditor.razor b/Wave/Components/AdvancedMarkdownEditor.razor index 43e7bc6..9517742 100644 --- a/Wave/Components/AdvancedMarkdownEditor.razor +++ b/Wave/Components/AdvancedMarkdownEditor.razor @@ -109,52 +109,6 @@ - @code { diff --git a/Wave/Components/App.razor b/Wave/Components/App.razor index 317f778..87d000d 100644 --- a/Wave/Components/App.razor +++ b/Wave/Components/App.razor @@ -44,8 +44,54 @@ - - + + + diff --git a/Wave/Components/Pages/Partials/ArticleEditorPartial.razor b/Wave/Components/Pages/Partials/ArticleEditorPartial.razor index 4fa99f0..b62f07b 100644 --- a/Wave/Components/Pages/Partials/ArticleEditorPartial.razor +++ b/Wave/Components/Pages/Partials/ArticleEditorPartial.razor @@ -280,7 +280,7 @@ } // published articles may only be edited my admins or moderators - if (article.Status is ArticleStatus.Published && roles.Any(r => r is "Admin" or "Reviewer")) { + if (article.Status is ArticleStatus.Published && roles.Any(r => r is "Admin" or "Moderator")) { article.Reviewer = me; // TODO replace with editor or something? return; }