Skip to content

Commit

Permalink
disable show diff only feature for swagger reviews (#6413)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu authored Jun 28, 2023
1 parent 14ca6c7 commit 84aa515
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@
<label class="form-check-label" for="hide-left-navigation">Show Left Navigation</label>
</div>
</li>
@if (!String.IsNullOrEmpty(Model.DiffRevisionId))
@if (!String.IsNullOrEmpty(Model.DiffRevisionId) && Model.Review.Language != "Swagger")
{
<li class="list-group-item">
<div class="form-check form-switch">
Expand Down

0 comments on commit 84aa515

Please sign in to comment.