Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix run-time null error on Brief page for DC Inputs Icon
Fix that Global.dcInputs.model.firstObject can become null (e.g. if simulator stops) causing the inputType to become inaccessible. Use optional chaining to return a null into the Global.dcInputs.inputTypeIcon() function which returns the default value "qrc:/images/icon_dc_24.svg" in this case.
- Loading branch information