mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
c0ad950bbe
commit
9fe4fb7edd
3 changed files with 1 additions and 4 deletions
|
|
@ -10,7 +10,6 @@ public class ListSummaryDtoMappingProfile : Profile
|
|||
{
|
||||
public ListSummaryDtoMappingProfile() =>
|
||||
CreateMap<Data.Entities.FilterList, ListSummaryDto>()
|
||||
.ForMember(d => d.AddedDate, c => c.MapFrom(l => l.CreatedDateUtc))
|
||||
.ForMember(d => d.Languages, c => c.MapFrom(l => l.FilterListLanguages.Select(la => la.Language)))
|
||||
.ForMember(d => d.UpdatedDate,
|
||||
c => c.MapFrom(l =>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ namespace FilterLists.Services.FilterList.Models
|
|||
public class ListSummaryDto
|
||||
{
|
||||
public uint Id { get; set; }
|
||||
public DateTime? AddedDate { get; set; }
|
||||
public IEnumerable<ListLanguagesDto> Languages { get; set; }
|
||||
public string Name { get; set; }
|
||||
public DateTime? UpdatedDate { get; set; }
|
||||
|
|
|
|||
|
|
@ -164,7 +164,6 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
|
||||
interface IListDto {
|
||||
id: number;
|
||||
addedDate: string;
|
||||
name: string;
|
||||
languages: IListLanguageDto[];
|
||||
updatedDate: string;
|
||||
|
|
@ -182,4 +181,4 @@ function SubscribeUrl(props: any) {
|
|||
title={"Subscribe to list with browser extension supporting \"abp:\" protocol (e.g. uBlock Origin, AdBlock Plus)."}>
|
||||
Subscribe
|
||||
</a>;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue