fix: Retain fullscreen modal as default for those triggered outside of showModal
This commit is contained in:
@@ -22,7 +22,7 @@ function Dialogs() {
|
|||||||
<Modal
|
<Modal
|
||||||
key={id}
|
key={id}
|
||||||
isOpen={modal.isOpen}
|
isOpen={modal.isOpen}
|
||||||
fullscreen={modal.fullscreen}
|
fullscreen={modal.fullscreen ?? false}
|
||||||
onRequestClose={() => dialogs.closeModal(id)}
|
onRequestClose={() => dialogs.closeModal(id)}
|
||||||
title={modal.title}
|
title={modal.title}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ type Props = {
|
|||||||
const Modal: React.FC<Props> = ({
|
const Modal: React.FC<Props> = ({
|
||||||
children,
|
children,
|
||||||
isOpen,
|
isOpen,
|
||||||
fullscreen,
|
fullscreen = true,
|
||||||
title = "Untitled",
|
title = "Untitled",
|
||||||
onRequestClose,
|
onRequestClose,
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
|
|||||||
@@ -236,21 +236,6 @@
|
|||||||
"Editor": "Editor",
|
"Editor": "Editor",
|
||||||
"Viewer": "Viewer",
|
"Viewer": "Viewer",
|
||||||
"Admin": "Admin",
|
"Admin": "Admin",
|
||||||
"We sent out your invites!": "We sent out your invites!",
|
|
||||||
"Those email addresses are already invited": "Those email addresses are already invited",
|
|
||||||
"Sorry, you can only send {{MAX_INVITES}} invites at a time": "Sorry, you can only send {{MAX_INVITES}} invites at a time",
|
|
||||||
"Share link copied": "Share link copied",
|
|
||||||
"Invited members will receive access to": "Invited members will receive access to",
|
|
||||||
"{{collectionCount}} collections": "{{collectionCount}} collections",
|
|
||||||
"Invite members or guests to join your workspace. They can sign in with {{signinMethods}} or use their email address.": "Invite members or guests to join your workspace. They can sign in with {{signinMethods}} or use their email address.",
|
|
||||||
"Invite members to join your workspace. They will need to sign in with {{signinMethods}}.": "Invite members to join your workspace. They will need to sign in with {{signinMethods}}.",
|
|
||||||
"As an admin you can also <2>enable email sign-in</2>.": "As an admin you can also <2>enable email sign-in</2>.",
|
|
||||||
"Want a link to share directly with your team?": "Want a link to share directly with your team?",
|
|
||||||
"Email": "Email",
|
|
||||||
"Remove invite": "Remove invite",
|
|
||||||
"Add another": "Add another",
|
|
||||||
"Inviting": "Inviting",
|
|
||||||
"Send Invites": "Send Invites",
|
|
||||||
"{{appName}} is available in your language {{optionLabel}}, would you like to change?": "{{appName}} is available in your language {{optionLabel}}, would you like to change?",
|
"{{appName}} is available in your language {{optionLabel}}, would you like to change?": "{{appName}} is available in your language {{optionLabel}}, would you like to change?",
|
||||||
"Change Language": "Change Language",
|
"Change Language": "Change Language",
|
||||||
"Dismiss": "Dismiss",
|
"Dismiss": "Dismiss",
|
||||||
@@ -455,6 +440,7 @@
|
|||||||
"New template": "New template",
|
"New template": "New template",
|
||||||
"Revision options": "Revision options",
|
"Revision options": "Revision options",
|
||||||
"Share link revoked": "Share link revoked",
|
"Share link revoked": "Share link revoked",
|
||||||
|
"Share link copied": "Share link copied",
|
||||||
"Share options": "Share options",
|
"Share options": "Share options",
|
||||||
"Go to document": "Go to document",
|
"Go to document": "Go to document",
|
||||||
"Revoke link": "Revoke link",
|
"Revoke link": "Revoke link",
|
||||||
@@ -661,6 +647,20 @@
|
|||||||
"Weird, this shouldn’t ever be empty": "Weird, this shouldn’t ever be empty",
|
"Weird, this shouldn’t ever be empty": "Weird, this shouldn’t ever be empty",
|
||||||
"You haven’t created any documents yet": "You haven’t created any documents yet",
|
"You haven’t created any documents yet": "You haven’t created any documents yet",
|
||||||
"Documents you’ve recently viewed will be here for easy access": "Documents you’ve recently viewed will be here for easy access",
|
"Documents you’ve recently viewed will be here for easy access": "Documents you’ve recently viewed will be here for easy access",
|
||||||
|
"We sent out your invites!": "We sent out your invites!",
|
||||||
|
"Those email addresses are already invited": "Those email addresses are already invited",
|
||||||
|
"Sorry, you can only send {{MAX_INVITES}} invites at a time": "Sorry, you can only send {{MAX_INVITES}} invites at a time",
|
||||||
|
"Invited members will receive access to": "Invited members will receive access to",
|
||||||
|
"{{collectionCount}} collections": "{{collectionCount}} collections",
|
||||||
|
"Invite members or guests to join your workspace. They can sign in with {{signinMethods}} or use their email address.": "Invite members or guests to join your workspace. They can sign in with {{signinMethods}} or use their email address.",
|
||||||
|
"Invite members to join your workspace. They will need to sign in with {{signinMethods}}.": "Invite members to join your workspace. They will need to sign in with {{signinMethods}}.",
|
||||||
|
"As an admin you can also <2>enable email sign-in</2>.": "As an admin you can also <2>enable email sign-in</2>.",
|
||||||
|
"Want a link to share directly with your team?": "Want a link to share directly with your team?",
|
||||||
|
"Email": "Email",
|
||||||
|
"Remove invite": "Remove invite",
|
||||||
|
"Add another": "Add another",
|
||||||
|
"Inviting": "Inviting",
|
||||||
|
"Send Invites": "Send Invites",
|
||||||
"Open command menu": "Open command menu",
|
"Open command menu": "Open command menu",
|
||||||
"Edit current document": "Edit current document",
|
"Edit current document": "Edit current document",
|
||||||
"Move current document": "Move current document",
|
"Move current document": "Move current document",
|
||||||
|
|||||||
Reference in New Issue
Block a user