mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: remove extra flash import (#11121)
* remove extra flash import * remove yml from accepted file types
This commit is contained in:
committed by
GitHub
parent
7a72082d31
commit
33906c6895
@@ -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") }}
|
||||
|
||||
Reference in New Issue
Block a user