Fixed a bug where fresh installs inviting a new users would get their own admin account's side nav and dashboard streams overwritten.
This commit is contained in:
parent
d48e59384f
commit
63bc25f12d
3 changed files with 60 additions and 53 deletions
|
|
@ -240,9 +240,10 @@ public class AutoMapperProfiles : Profile
|
|||
|
||||
CreateMap<AppUserSmartFilter, SmartFilterDto>();
|
||||
CreateMap<AppUserDashboardStream, DashboardStreamDto>();
|
||||
// CreateMap<AppUserDashboardStream, DashboardStreamDto>()
|
||||
// .ForMember(dest => dest.SmartFilterEncoded,
|
||||
// opt => opt.MapFrom(src => src.SmartFilter));
|
||||
|
||||
// This is for cloning to ensure the records don't get overwritten when setting from SeedData
|
||||
CreateMap<AppUserDashboardStream, AppUserDashboardStream>();
|
||||
CreateMap<AppUserSideNavStream, AppUserSideNavStream>();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue