mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
fix: disable empty state add doc without subscr.
This commit is contained in:
@ -381,6 +381,7 @@ const DocumentsPage: NextPageWithLayout = (props: any) => {
|
|||||||
<div className="mt-6">
|
<div className="mt-6">
|
||||||
<Button
|
<Button
|
||||||
icon={PlusIcon}
|
icon={PlusIcon}
|
||||||
|
disabled={!hasSubscription}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
document?.getElementById("fileUploadHelper")?.click();
|
document?.getElementById("fileUploadHelper")?.click();
|
||||||
}}>
|
}}>
|
||||||
|
|||||||
Reference in New Issue
Block a user