mirror of
https://github.com/makeplane/plane.git
synced 2026-05-05 15:39:35 -05:00
chore: workspace view display filters and properties , code refactor (#2295)
* chore: spreadsheet view context * chore: spreadsheet context provider * chore: spreadsheet view context * chore: display filters and properties added in workspace view and code refactor * fix: build error fix * chore: set sub-issue display option to false for global views --------- Co-authored-by: gurusainath <gurusainath007@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4503810aeb
commit
a048e513b7
@@ -19,6 +19,7 @@ export type CustomMenuProps = DropdownProps & {
|
||||
|
||||
const CustomMenu = ({
|
||||
buttonClassName = "",
|
||||
customButtonClassName = "",
|
||||
children,
|
||||
className = "",
|
||||
customButton,
|
||||
@@ -40,7 +41,12 @@ const CustomMenu = ({
|
||||
{({ open }) => (
|
||||
<>
|
||||
{customButton ? (
|
||||
<Menu.Button as="button" type="button" onClick={menuButtonOnClick}>
|
||||
<Menu.Button
|
||||
as="button"
|
||||
type="button"
|
||||
onClick={menuButtonOnClick}
|
||||
className={customButtonClassName}
|
||||
>
|
||||
{customButton}
|
||||
</Menu.Button>
|
||||
) : (
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
export type DropdownProps = {
|
||||
buttonClassName?: string;
|
||||
customButtonClassName?: string;
|
||||
className?: string;
|
||||
customButton?: JSX.Element;
|
||||
disabled?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user