Skip to content

Commit

Permalink
[ZEPPELIN-6146] Replace 'application/zpln' with '.zpln' in 'accept' a…
Browse files Browse the repository at this point in the history
…ttribute 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 <philipp.dallig@gmail.com>
  • Loading branch information
Charlie91 authored Nov 11, 2024
1 parent 97b12e6 commit 80c8825
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<nz-tabset>
<nz-tab nzTitle="Import From JSON File">
<nz-upload nzType="drag" [nzBeforeUpload]="beforeUpload" nzAccept="application/json,application/zpln">
<nz-upload nzType="drag" [nzBeforeUpload]="beforeUpload" nzAccept="application/json, .zpln">
<p class="ant-upload-drag-icon">
<i nz-icon nzType="inbox"></i>
</p>
Expand Down

0 comments on commit 80c8825

Please sign in to comment.