Skip to content

Commit fcdd1df

Browse files
Charlie91Reamer
authored andcommitted
[ZEPPELIN-6146] Replace 'application/zpln' with '.zpln' in 'accept' attribute of file importer
### What is this PR for? Currently, in new UI, it's not that easy to import notes fron .zpln files, since by default file importer only looks for .json files. The bug was reproduced in both Win10 and MacOs ### What type of PR is it? Bug Fix ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-6146 Closes #4895 from Charlie91/change-fileimporter-accept-rule. Signed-off-by: Philipp Dallig <[email protected]> (cherry picked from commit 80c8825) Signed-off-by: Philipp Dallig <[email protected]>
1 parent 50a51cf commit fcdd1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zeppelin-web-angular/src/app/share/note-import/note-import.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<nz-tabset>
2323
<nz-tab nzTitle="Import From JSON File">
24-
<nz-upload nzType="drag" [nzBeforeUpload]="beforeUpload" nzAccept="application/json,application/zpln">
24+
<nz-upload nzType="drag" [nzBeforeUpload]="beforeUpload" nzAccept="application/json, .zpln">
2525
<p class="ant-upload-drag-icon">
2626
<i nz-icon nzType="inbox"></i>
2727
</p>

0 commit comments

Comments
 (0)