Skip to content

Commit

Permalink
hide datafiles container when react_flag not set
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosenb committed Feb 8, 2024
1 parent 367b663 commit 93ee20d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions designsafe/apps/data/templates/data/data_depot.j2
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ Data Depot
<base href="{% url 'designsafe_data:data_depot' %}">
{% endblock %}
{% block content %}
{%if react_flag%}
<div id="datafiles-root" style="display: flex; flex-direction: column; flex: 1;"></div>
{% endif %}

{%if not react_flag%}
<div class="container dd-container">
Expand Down

0 comments on commit 93ee20d

Please sign in to comment.