Skip to content

Populate categories in settings view model - #864

Merged
poppastring merged 1 commit into
mainfrom
remove-logic-fromview
Jul 3, 2026
Merged

poppastring merged 1 commit into
mainfrom
remove-logic-fromview

Conversation

@poppastring

Copy link
Copy Markdown
Owner

Populate categories in settings view model

AdminController now sets Categories on DasBlogSettingsViewModel for both GET and POST actions. The front page category dropdown in _Admin_FrontPage.cshtml now uses Model.Categories instead of querying blogManager directly. Added Categories property to DasBlogSettingsViewModel. Minor whitespace cleanup in the view.

AdminController now sets Categories on DasBlogSettingsViewModel for both GET and POST actions. The front page category dropdown in _Admin_FrontPage.cshtml now uses Model.Categories instead of querying blogManager directly. Added Categories property to DasBlogSettingsViewModel. Minor whitespace cleanup in the view.
@poppastring
poppastring merged commit 7cc4cf0 into main Jul 3, 2026
3 checks passed
@poppastring
poppastring deleted the remove-logic-fromview branch July 3, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant