mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #29073 from overleaf/dp-project-sharing-e2e-tests
Adapt project sharing Saas e2e tests to use new editor GitOrigin-RevId: d4220589febaf8447fb7cf06252f11092c03c83e
This commit is contained in:
@@ -22,7 +22,7 @@ const SubmitProjectButton = publishModalModules?.import.NewPublishToolbarButton
|
||||
|
||||
export const Toolbar = () => {
|
||||
const { view, restoreView } = useLayoutContext()
|
||||
const { cobranding } = useEditorContext()
|
||||
const { cobranding, isRestrictedTokenMember } = useEditorContext()
|
||||
const { permissionsLevel } = useIdeReactContext()
|
||||
const { t } = useTranslation()
|
||||
const shouldDisplaySubmitButton =
|
||||
@@ -56,7 +56,7 @@ export const Toolbar = () => {
|
||||
<div className="ide-redesign-toolbar-actions">
|
||||
<BetaActions />
|
||||
<OnlineUsers />
|
||||
<ShowHistoryButton />
|
||||
{!isRestrictedTokenMember && <ShowHistoryButton />}
|
||||
<ChangeLayoutButton />
|
||||
{shouldDisplaySubmitButton && cobranding && (
|
||||
<SubmitProjectButton cobranding={cobranding} />
|
||||
|
||||
Reference in New Issue
Block a user