mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Don't show facet in cog menu if not allow_facet, closes #1683
This commit is contained in:
parent
d431a9055e
commit
c496f2b663
4 changed files with 26 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
|||
{% block extra_head %}
|
||||
{{- super() -}}
|
||||
<script src="{{ urls.static('table.js') }}" defer></script>
|
||||
<script>DATASETTE_ALLOW_FACET = {{ datasette_allow_facet }};</script>
|
||||
<style>
|
||||
@media only screen and (max-width: 576px) {
|
||||
{% for column in display_columns -%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue