test: fix SettingsObjectDisabledMenuDropDown storybook tests (#2257)

* test: fix SettingsObjectDisabledMenuDropDown storybook tests

* fix: fix BoardOptionsDropdownContent lint error
This commit is contained in:
Thaïs
2023-10-27 17:49:14 +02:00
committed by GitHub
parent 14ae8da424
commit 9681815cb3
2 changed files with 12 additions and 7 deletions

View File

@ -110,7 +110,7 @@ export const BoardOptionsDropdownContent = ({
const viewEditMode = snapshot
.getLoadable(viewEditModeScopedState({ scopeId: boardRecoilScopeId }))
.getValue();
if (!viewEditMode) {
return;
}