mirror of
https://github.com/makeplane/plane.git
synced 2026-04-25 17:49:35 -05:00
[WEB-1962] fix: disabled custom menu (#5130)
* fix: custom menu disabled button * Add constants package to package.json * Freeze hook form version --------- Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
This commit is contained in:
committed by
GitHub
parent
e4d6e5e1af
commit
5464e62a03
@@ -137,6 +137,7 @@ const CustomMenu = (props: ICustomMenuDropdownProps) => {
|
||||
onClick={handleMenuButtonClick}
|
||||
className={customButtonClassName}
|
||||
tabIndex={customButtonTabIndex}
|
||||
disabled={disabled}
|
||||
>
|
||||
{customButton}
|
||||
</button>
|
||||
@@ -172,6 +173,7 @@ const CustomMenu = (props: ICustomMenuDropdownProps) => {
|
||||
} ${buttonClassName}`}
|
||||
onClick={handleMenuButtonClick}
|
||||
tabIndex={customButtonTabIndex}
|
||||
disabled={disabled}
|
||||
>
|
||||
{label}
|
||||
{!noChevron && <ChevronDown className="h-3.5 w-3.5" />}
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
"@plane/editor": "*",
|
||||
"@plane/types": "*",
|
||||
"@plane/ui": "*",
|
||||
"@plane/constants": "*",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"@sentry/nextjs": "^8",
|
||||
"axios": "^1.1.3",
|
||||
|
||||
Reference in New Issue
Block a user