mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
wip
This commit is contained in:
parent
4a348eb809
commit
38357b2a31
3 changed files with 4 additions and 5 deletions
|
|
@ -6,7 +6,7 @@ namespace FilterLists.Services.FilterList.Models
|
|||
public class ListTagDto
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string ColorHex { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -99,9 +99,7 @@ export class Home extends React.Component<RouteComponentProps<{}>, IHomeState> {
|
|||
filterMethod: (filter: any, row: any) => row[filter.id].map((e: any) => e.name).join()
|
||||
.toUpperCase().includes(filter.value.toUpperCase()),
|
||||
sortMethod: (a: any, b: any) => a.join().toUpperCase() > b.join().toUpperCase() ? 1 : -1,
|
||||
Cell: (cell: any) => <div>{cell.value.map(
|
||||
(e: any) => <span className="badge" style={{ color: "#{e.colorHex}" }} title={e
|
||||
.description}>{e.name}</span>)}</div>,
|
||||
Cell: (cell: any) => <div>{cell.value.map((e: any) => <span className="badge" style={{ backgroundColor: `#${e.colorHex}` }} title={e.description}>{e.name}</span>)}</div>,
|
||||
width: 100,
|
||||
headerClassName: "d-none d-lg-block",
|
||||
className: "d-none d-lg-block"
|
||||
|
|
@ -193,6 +191,7 @@ interface IListLanguageDto {
|
|||
|
||||
interface IListTagDto {
|
||||
name: string;
|
||||
colorHex: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
</Target>
|
||||
|
||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||
<!--<Exec Command="if $(ConfigurationName) == Debug call "$(SolutionDir)scripts\npm_webpack_win.bat"" />-->
|
||||
<Exec Command="if $(ConfigurationName) == Debug call "$(SolutionDir)scripts\npm_webpack_win.bat"" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
Loading…
Reference in a new issue