mirror of
https://github.com/Corsinvest/cv4pve-admin.git
synced 2026-04-25 12:55:57 +03:00
[PR #153] refactor: remove redundant ModuleType from Widget and simplify GetModuleWidget #287
Labels
No labels
bug
bug
enhancement
feedback
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-admin#287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/153
State: closed
Merged: Yes
Summary
ModuleTypeproperty fromWidgetmodel —ModuleWidgetType(C# FullName) already uniquely identifies a widget globallyGetModuleWidgetto search across all modules usingSelectManyinstead of first resolving the module by typeModuleTypeassignment inDashboard.razor.cswhen creating new widgetsRemoveWidgetModuleTypeto drop theModuleTypecolumn fromdashboard.Widgetstabledashboards.jsondefault template accordinglyTest plan
ModuleTypecolumn is dropped