refactor: treat empty expandable arrays as non expandable (fixes SFKUI-7728)#1094
refactor: treat empty expandable arrays as non expandable (fixes SFKUI-7728)#1094jensviklander merged 3 commits intomainfrom
Conversation
Artifact sizesArtifact sizes in this build (unchanged artifacts collapsed below).
7 unchanged artifacts
|
Förhandsgranskning 🐛 🔍Dokumentation och exampel applikationer finns att förhandsgranska på: Senast uppdaterad 2026-03-11 14:25 UTC i gh-pages. |
CHANGELOGNo commits contributing to a release was found, no changelog entries will be added for this Pull Request. If this PR should be included in a release amend the commit message(s) to use:
Read more about the release process (swedish). |
| expandableAttribute && row[expandableAttribute], | ||
| ); | ||
| const isExpandable = | ||
| !!expandableAttribute && |
There was a problem hiding this comment.
Jag har pendlat över till Boolean() då det är mer explicit. Vet inte vad andra tycker. Nitpick :)
There was a problem hiding this comment.
Tycker vi kör på Boolean() då vi använder det överallt annars och som du säger så är det mer explicit 👍
There was a problem hiding this comment.
Jag håller med, jag trodde faktiskt vi hade lint-regel för det tom. !! är väldigt magiskt och konstigt första gången man stöter på det
No description provided.