mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-15 22:41:21 +01:00
Fix Egg Importer Upload File Type Filter (#2000)
This commit is contained in:
parent
59f0fe1959
commit
2f5790b121
@ -120,7 +120,7 @@ class ImportEggAction extends Action
|
|||||||
FileUpload::make('files')
|
FileUpload::make('files')
|
||||||
->label(trans('admin/egg.model_label'))
|
->label(trans('admin/egg.model_label'))
|
||||||
->hint(trans('admin/egg.import.egg_help'))
|
->hint(trans('admin/egg.import.egg_help'))
|
||||||
->acceptedFileTypes(['application/json', 'application/yaml', 'application/x-yaml', 'text/yaml'])
|
->acceptedFileTypes(['application/json', 'application/x-yaml', 'text/yaml', '.yaml', '.yml'])
|
||||||
->preserveFilenames()
|
->preserveFilenames()
|
||||||
->previewable(false)
|
->previewable(false)
|
||||||
->storeFiles(false)
|
->storeFiles(false)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user