Fixed user reference problem in event creation

This commit is contained in:
2026-01-19 20:39:18 +01:00
parent e937cecc81
commit dd1cfc15e5
6 changed files with 15 additions and 13 deletions

View File

@@ -48,8 +48,7 @@ builder.Services.AddHopFrame(config => {
});
context.Table<Event>()
.SetDisplayName(Guid.NewGuid().ToString())
.Ignore(true);
.Ignore();
});
config.AddCustomRepository<EventsDashboardRepo, Event, Guid>(e => e.Id, table => {
@@ -63,8 +62,7 @@ builder.Services.AddHopFrame(config => {
table.Property(e => e.Host)
.List(false)
.SetEditable(false)
.SetCreatable(false)
.SetDisplayedProperty(u => u.DisplayName);
.SetCreatable(false);
table.ShowSearchSuggestions(false);
});