Fixed type conversion error in Categories/Edit.cshtml where Model.IsActive (bool?) was being evaluated in a ternary operator that requires non-nullable bool. Changed from: @(Model.IsActive ? "checked" : "") To: @(Model.IsActive == true ? "checked" : "") This properly handles null, false, and true values for the checkbox. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Components/Products | ||
| Controllers | ||
| Views | ||