remove subscribe from grid

This commit is contained in:
Collin M. Barrett 2018-02-17 12:50:42 -06:00
parent 505b781ec7
commit ce5b5e4dbd
2 changed files with 0 additions and 13 deletions

View file

@ -4,6 +4,5 @@ public class FilterListSummaryDto
{
public int Id { get; set; }
public string Name { get; set; }
public string ViewUrl { get; set; }
}
}

View file

@ -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)}&amp;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;
}