mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 10:11:35 +10:00
allow only pdf upload (clientside)
This commit is contained in:
@ -80,6 +80,7 @@ const DashboardPage: NextPageWithLayout = (props: any) => {
|
||||
<input
|
||||
id="fileUploadHelper"
|
||||
type="file"
|
||||
accept="application/pdf"
|
||||
onChange={(event: any) => {
|
||||
uploadDocument(event);
|
||||
}}
|
||||
|
||||
@ -420,6 +420,7 @@ const DocumentsPage: NextPageWithLayout = (props: any) => {
|
||||
<input
|
||||
id="fileUploadHelper"
|
||||
type="file"
|
||||
accept="application/pdf"
|
||||
onChange={(event: any) => {
|
||||
uploadDocument(event);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user