mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
hide “Hide for everyone” in column menu
This commit is contained in:
@@ -237,18 +237,18 @@ export default function ColumnMenu() {
|
||||
// onClick: () => alert("REORDER"),
|
||||
// },
|
||||
|
||||
{
|
||||
label: "Hide for everyone",
|
||||
activeLabel: "Show",
|
||||
icon: <VisibilityOffIcon />,
|
||||
activeIcon: <VisibilityIcon />,
|
||||
onClick: () => {
|
||||
actions.update(column.key, { hidden: !column.hidden });
|
||||
handleClose();
|
||||
},
|
||||
active: column.hidden,
|
||||
color: "error" as "error",
|
||||
},
|
||||
// {
|
||||
// label: "Hide for everyone",
|
||||
// activeLabel: "Show",
|
||||
// icon: <VisibilityOffIcon />,
|
||||
// activeIcon: <VisibilityIcon />,
|
||||
// onClick: () => {
|
||||
// actions.update(column.key, { hidden: !column.hidden });
|
||||
// handleClose();
|
||||
// },
|
||||
// active: column.hidden,
|
||||
// color: "error" as "error",
|
||||
// },
|
||||
{
|
||||
label: "Delete column",
|
||||
icon: <ColumnRemoveIcon />,
|
||||
|
||||
Reference in New Issue
Block a user