diff --git a/src/FilterLists.Services/FilterList/MappingProfiles/ListIndexRecordMappingProfile.cs b/src/FilterLists.Services/FilterList/MappingProfiles/ListMappingProfile.cs similarity index 95% rename from src/FilterLists.Services/FilterList/MappingProfiles/ListIndexRecordMappingProfile.cs rename to src/FilterLists.Services/FilterList/MappingProfiles/ListMappingProfile.cs index f1aee6be1..153073352 100644 --- a/src/FilterLists.Services/FilterList/MappingProfiles/ListIndexRecordMappingProfile.cs +++ b/src/FilterLists.Services/FilterList/MappingProfiles/ListMappingProfile.cs @@ -7,9 +7,9 @@ namespace FilterLists.Services.FilterList.MappingProfiles { [UsedImplicitly] - public class ListIndexRecordMappingProfile : Profile + public class ListMappingProfile : Profile { - public ListIndexRecordMappingProfile() => + public ListMappingProfile() => CreateMap() .ForMember(dest => dest.Id, opt => opt.MapFrom(src => diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/columns/UpdatedDate.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/columns/UpdatedDate.tsx index 4e48460cb..094eda4e4 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/columns/UpdatedDate.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/columns/UpdatedDate.tsx @@ -27,8 +27,10 @@ const sortMethod = (a: string, b: string) => : -1; const Cell = (updatedDate: string) => -
- {moment(updatedDate).isValid() - ? moment(updatedDate).format("l") - : null} -
; \ No newline at end of file + updatedDate + ?
+ {moment(updatedDate).isValid() + ? moment(updatedDate).format("l") + : null} +
+ : null; \ No newline at end of file