[PE-97] chore: re-order pages options (#6303)
* chore: re-order pages dropdown options * chore: re-order pages dropdown options
This commit is contained in:
parent
3fd2550d69
commit
be9dbc1b18
2 changed files with 5 additions and 11 deletions
|
|
@ -102,14 +102,14 @@ export const PageOptionsDropdown: React.FC<Props> = observer((props) => {
|
|||
extraOptions={EXTRA_MENU_OPTIONS}
|
||||
optionsOrder={[
|
||||
"full-screen",
|
||||
"copy-markdown",
|
||||
"copy-link",
|
||||
"make-a-copy",
|
||||
"toggle-lock",
|
||||
"toggle-access",
|
||||
"make-a-copy",
|
||||
"archive-restore",
|
||||
"delete",
|
||||
"version-history",
|
||||
"copy-markdown",
|
||||
"export",
|
||||
]}
|
||||
page={page}
|
||||
|
|
|
|||
|
|
@ -29,13 +29,7 @@ export const BlockItemAction: FC<Props> = observer((props) => {
|
|||
page,
|
||||
});
|
||||
// derived values
|
||||
const {
|
||||
access,
|
||||
created_at,
|
||||
is_favorite,
|
||||
owned_by,
|
||||
canCurrentUserFavoritePage,
|
||||
} = page;
|
||||
const { access, created_at, is_favorite, owned_by, canCurrentUserFavoritePage } = page;
|
||||
const ownerDetails = owned_by ? getUserDetails(owned_by) : undefined;
|
||||
|
||||
return (
|
||||
|
|
@ -76,11 +70,11 @@ export const BlockItemAction: FC<Props> = observer((props) => {
|
|||
{/* quick actions dropdown */}
|
||||
<PageActions
|
||||
optionsOrder={[
|
||||
"toggle-lock",
|
||||
"toggle-access",
|
||||
"open-in-new-tab",
|
||||
"copy-link",
|
||||
"make-a-copy",
|
||||
"toggle-lock",
|
||||
"toggle-access",
|
||||
"archive-restore",
|
||||
"delete",
|
||||
]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue