Closed
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Description
In layout_
in flyout_vertical.ts
we access the block with const block = item.block
. The result is nullable, so all later uses of block
have to have a non-null assertion
To fix:
- Check whether
block
isundefined
after settingconst block = item.block
. continue
ifblock
doesn't exist.- Remove
!
from after the remaining uses ofblock
within the for loop.
Related to #7522
To get set up for this issue:
- Run
npm install
from the root of the repository. - Run
npm run build
from the root of the repository. - Run
npm run start
from the root of the repository to launch the test playground.