mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
remove added date from ui (new prod db, no longer relevant/accurate)
This commit is contained in:
parent
dd0547e6ac
commit
d8359f4354
4 changed files with 2 additions and 14 deletions
|
|
@ -1,2 +1,2 @@
|
|||
# FilterLists Capture Snapshots
|
||||
*/1 * * * * nice -n 19 /usr/bin/flock -n /tmp/filterlistsagent.lockfile /var/www/api.filterlists/FilterLists.Agent > /dev/null 2>&1
|
||||
*/1 * * * * nice -n 19 /usr/bin/flock -n /tmp/filterlistsagent.lockfile /var/www/filterlists/FilterLists.Agent > /dev/null 2>&1
|
||||
|
|
@ -10,7 +10,6 @@ public class ListDetailsDtoMappingProfile : Profile
|
|||
{
|
||||
public ListDetailsDtoMappingProfile() =>
|
||||
CreateMap<Data.Entities.FilterList, ListDetailsDto>()
|
||||
.ForMember(d => d.AddedDate, c => c.MapFrom(l => l.CreatedDateUtc))
|
||||
.ForMember(d => d.Languages, c => c.MapFrom(l => l.FilterListLanguages.Select(la => la.Language.Name)))
|
||||
.ForMember(d => d.Maintainers, c => c.MapFrom(l => l.FilterListMaintainers.Select(m => m.Maintainer)))
|
||||
.ForMember(d => d.RuleCount,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ namespace FilterLists.Services.FilterList.Models
|
|||
public class ListDetailsDto
|
||||
{
|
||||
public uint Id { get; set; }
|
||||
public DateTime? AddedDate { get; set; }
|
||||
public string ChatUrl { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string DescriptionSourceUrl { get; set; }
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ function ListInfo(props: any) {
|
|||
<RuleCount count={props.details.ruleCount}/>
|
||||
<DiscontinuedDate date={props.details.discontinuedDate}/>
|
||||
<UpdatedDate date={props.details.updatedDate}/>
|
||||
<AddedDate date={props.details.addedDate}/>
|
||||
<PublishedDate date={props.details.publishedDate}/>
|
||||
<License license={props.details.license}/>
|
||||
</ul>
|
||||
|
|
@ -128,14 +127,6 @@ function UpdatedDate(props: any) {
|
|||
: null;
|
||||
}
|
||||
|
||||
function AddedDate(props: any) {
|
||||
return props.date
|
||||
? <li className="list-group-item">
|
||||
<p>Added to FilterLists: {moment(props.date).format("MMM D, Y")}</p>
|
||||
</li>
|
||||
: null;
|
||||
}
|
||||
|
||||
function PublishedDate(props: any) {
|
||||
return props.date
|
||||
? <li className="list-group-item">
|
||||
|
|
@ -310,7 +301,6 @@ function MaintainerUrls(props: any) {
|
|||
}
|
||||
|
||||
interface IFilterListDetailsDto {
|
||||
addedDate: string;
|
||||
chatUrl: string;
|
||||
description: string;
|
||||
descriptionSourceUrl: string;
|
||||
|
|
@ -360,4 +350,4 @@ interface IListSyntaxDto {
|
|||
interface ISyntaxSupportedSoftwareDto {
|
||||
homeUrl: string;
|
||||
name: string;
|
||||
};
|
||||
};
|
||||
Loading…
Reference in a new issue