Skip to content

Commit 10303dc

Browse files
committed
Twig style
1 parent 76722a7 commit 10303dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridge/Symfony/Bundle/Resources/views/SwaggerUi/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
</div>
7575
</div>
7676

77-
{% if ((false == swaggerUiEnabled and reDocEnabled) or (reDocEnabled and active_ui == 're_doc')) %}
77+
{% if (reDocEnabled and not swaggerUiEnabled) or (reDocEnabled and 're_doc' == active_ui) %}
7878
<script src="{{ asset('bundles/apiplatform/redoc/redoc.standalone.js') }}"></script>
7979
<script src="{{ asset('bundles/apiplatform/init-redoc-ui.js') }}"></script>
8080
{% elseif (swaggerUiEnabled) %}

0 commit comments

Comments
 (0)