mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: .txt file extension is not supported in /dashboard/import file upload (#59760)
remove typo, allow txt file upload
This commit is contained in:
parent
da24a9d74e
commit
6ab6d661e2
@ -131,7 +131,7 @@ class UnthemedDashboardImport extends PureComponent<Props> {
|
||||
return (
|
||||
<>
|
||||
<div className={styles.option}>
|
||||
<FileUpload accept="application/json" onFileUpload={this.onFileUpload}>
|
||||
<FileUpload accept="application/json, text/plain" onFileUpload={this.onFileUpload}>
|
||||
Upload JSON file
|
||||
</FileUpload>
|
||||
</div>
|
||||
@ -189,7 +189,7 @@ class UnthemedDashboardImport extends PureComponent<Props> {
|
||||
|
||||
pageNav: NavModelItem = {
|
||||
text: 'Import dashboard',
|
||||
subTitle: 'Import dashboard from file or Grafana.com"',
|
||||
subTitle: 'Import dashboard from file or Grafana.com',
|
||||
breadcrumbs: [{ title: 'Dashboards', url: 'dashboards' }],
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user