Working on Admin page modal

This commit is contained in:
2024-10-13 17:42:40 +02:00
parent d2729870e3
commit 599ce2bf43
15 changed files with 157 additions and 14 deletions

View File

@@ -214,12 +214,8 @@
StateHasChanged();
}
private static string GetPrintableValue(object element, AdminPageProperty prop) {
var entry = prop.GetValue(element);
//TODO: convert relational types
return entry?.ToString();
private string GetPrintableValue(object element, AdminPageProperty prop) {
return _modal?.MapPropertyValue(prop.GetValue(element), prop);
}
private async void Create() {