Fixed user reference problem in event creation
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user