File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/ui/src/elements/DocumentControls Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ export const DocumentControls: React.FC<{
243
243
</ Button >
244
244
) }
245
245
</ div >
246
- { showDotMenu && (
246
+ { showDotMenu && ! readOnlyForIncomingUser && (
247
247
< Popup
248
248
button = {
249
249
< div className = { `${ baseClass } __dots` } >
Original file line number Diff line number Diff line change @@ -391,6 +391,7 @@ describe('locked documents', () => {
391
391
// save buttons should be readOnly / disabled
392
392
await expect ( page . locator ( '#action-save-draft' ) ) . toBeDisabled ( )
393
393
await expect ( page . locator ( '#action-save' ) ) . toBeDisabled ( )
394
+ await expect ( page . locator ( '.doc-controls__dots' ) ) . toBeHidden ( )
394
395
395
396
// fields should be readOnly / disabled
396
397
await expect ( page . locator ( '#field-text' ) ) . toBeDisabled ( )
You can’t perform that action at this time.
0 commit comments