Skip to content

Commit

Permalink
fix(frontend): restrict file explorer to show only .yaml, .yml, .zip,…
Browse files Browse the repository at this point in the history
… and .tar.gz files Signed-off-by: Muzz Khan [email protected]
  • Loading branch information
muzzlol committed Feb 12, 2025
1 parent 65d1d79 commit 24eddc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/pages/NewPipelineVersion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ export class NewPipelineVersion extends Page<NewPipelineVersionProps, NewPipelin
style={{ position: 'relative' }}
ref={this._dropzoneRef}
inputProps={{ tabIndex: -1 }}
accept=".yaml,.yml,.zip,.tar.gz"
disabled={importMethod === ImportMethod.URL}
>
{dropzoneActive && <div className={css.dropOverlay}>Drop files..</div>}
Expand Down

0 comments on commit 24eddc3

Please sign in to comment.