kolibri
kolibri copied to clipboard
Do proper conditional check for display of learner needs labels
Summary
- The previous conditional check was doing a boolean check on an Array, which will always be truthy, even if empty
- In addition, it could still erroneously be displayed because we remove the "For beginners" from the displayed labels to show elsewhere
- Change the check to emulate other checks that check the text to be displayed instead
Reviewer guidance
Import the KA Bangla channel, ensure that the "What do you need?" section does not get erroneously displayed in the resource metadata.
Build Artifacts
| Asset type | Download link |
|---|---|
| PEX file | kolibri-0.19.0a0.dev0_git.115.ga443f9b6.pex |
| Windows Installer (EXE) | kolibri-0.19.0a0.dev0+git.115.ga443f9b6-windows-setup-unsigned.exe |
| Debian Package | kolibri_0.19.0a0.dev0+git.115.ga443f9b6-0ubuntu1_all.deb |
| Mac Installer (DMG) | kolibri-0.19.0a0.dev0+git.115.ga443f9b6.dmg |
| Android Package (APK) | kolibri-0.19.0a0.dev0+git.115.ga443f9b6-0.1.6-debug.apk |
| Raspberry Pi Image | kolibri-pi-image-0.19.0a0.dev0+git.115.ga443f9b6.zip |
| TAR file | kolibri-0.19.0a0.dev0+git.115.ga443f9b6.tar.gz |
| WHL file | kolibri-0.19.0a0.dev0+git.115.ga443f9b6-py2.py3-none-any.whl |