Skip to content

Commit

Permalink
fix: remove extra flash import (#11121)
Browse files Browse the repository at this point in the history
* remove extra flash import

* remove yml from accepted file types
  • Loading branch information
eschutho authored Oct 1, 2020
1 parent 7a72082 commit 33906c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions superset/templates/superset/import_dashboards.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
{% block title %}{{ _("Import dashboards") }}{% endblock %}

{% block content %}
{% include "superset/flash_wrapper.html" %}

<div class="container">
<div class="panel">
<div class="panel-heading"><h3>{{ _("Import Dashboard(s)") }}</h3></div>
Expand All @@ -43,6 +41,7 @@
id="my-file-selector"
type="file"
name="file"
accept=".json"
style="display:none;"
onchange="$('#upload-file-info').html(this.files[0].name)"/>
{{ _("Choose File") }}
Expand Down

0 comments on commit 33906c6

Please sign in to comment.