mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
remove subscribe from grid
This commit is contained in:
parent
505b781ec7
commit
ce5b5e4dbd
2 changed files with 0 additions and 13 deletions
|
|
@ -4,6 +4,5 @@ public class FilterListSummaryDto
|
|||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string ViewUrl { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -48,17 +48,6 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
|
|||
Cell: (rowInfo: any) => <ListDetailsModal listId={rowInfo.original.id}/>,
|
||||
style: { textAlign: "center" },
|
||||
width: 100
|
||||
},
|
||||
{
|
||||
Header: "Subscribe",
|
||||
sortable: false,
|
||||
Cell: (rowInfo: any) => <a
|
||||
href={`abp:subscribe?location=${encodeURIComponent(rowInfo.row.viewUrl)}&title=${encodeURIComponent(rowInfo.row.name)}`}
|
||||
className="btn btn-primary btn-block"
|
||||
title={"Subscribe to list with browser extension supporting \"abp:\" protcool (e.g. uBlock Origin, AdBlock Plus)."}>
|
||||
Subscribe</a>,
|
||||
style: { textAlign: "center" },
|
||||
width: 100
|
||||
}
|
||||
]}/>;
|
||||
}
|
||||
|
|
@ -67,5 +56,4 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
|
|||
interface IFilterListSummaryDto {
|
||||
id: number;
|
||||
name: string;
|
||||
viewUrl: string;
|
||||
}
|
||||
Loading…
Reference in a new issue