Merge pull request #2945 from sbwalker/dev

set Expanded to lowercase if specified
This commit is contained in:
Shaun Walker 2023-06-28 12:25:13 -04:00 committed by GitHub
commit 3954c482ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@
protected override void OnInitialized()
{
_heading = (!string.IsNullOrEmpty(Heading)) ? Heading : Name;
_expanded = (!string.IsNullOrEmpty(Expanded)) ? Expanded : "false";
_expanded = (!string.IsNullOrEmpty(Expanded)) ? Expanded.ToLower() : "false";
if (_expanded == "true") { _show = "show"; }
}