fix: remove extra flash import (#11121)

* remove extra flash import

* remove yml from accepted file types
This commit is contained in:
Elizabeth Thompson
2020-10-01 14:09:30 -07:00
committed by GitHub
parent 7a72082d31
commit 33906c6895

View File

@@ -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>
@@ -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") }}