1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Move GRAPHQL_ENABLED to dynamic configuration

This commit is contained in:
jeremystretch
2021-11-08 15:31:09 -05:00
parent f8e44c09eb
commit d2391b9c63
8 changed files with 20 additions and 15 deletions

View File

@@ -127,7 +127,7 @@
</a>
{# GraphQL API #}
{% if settings.GRAPHQL_ENABLED %}
{% if config.GRAPHQL_ENABLED %}
<a type="button" class="nav-link" href="{% url 'graphql' %}" target="_blank">
<i title="GraphQL API" class="mdi mdi-graphql text-primary" data-bs-placement="top" data-bs-toggle="tooltip"></i>
</a>