This is an automated email from the ASF dual-hosted git repository.

pdallig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 80c88251a8 [ZEPPELIN-6146] Replace 'application/zpln' with '.zpln' in 
'accept' attribute of file importer
80c88251a8 is described below

commit 80c88251a81672ffaae6cb077ce06841077587a0
Author: Charlie91 <aleksan...@yandex.ru>
AuthorDate: Mon Nov 11 09:30:25 2024 +0300

    [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 <philipp.dal...@gmail.com>
---
 .../src/app/share/note-import/note-import.component.html                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/zeppelin-web-angular/src/app/share/note-import/note-import.component.html 
b/zeppelin-web-angular/src/app/share/note-import/note-import.component.html
index 861da357a9..8a16dde922 100644
--- a/zeppelin-web-angular/src/app/share/note-import/note-import.component.html
+++ b/zeppelin-web-angular/src/app/share/note-import/note-import.component.html
@@ -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>

Reply via email to