From f75af198076d15edb2bac9f9bd52d70c76eea09f Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 15 Sep 2018 12:03:38 -0500 Subject: [PATCH] fix some pathing issues with ListsTable component --- .../ClientApp/modules/home/components/index.ts | 4 ++-- .../home/components/{ => listsTable}/ListsTable.tsx | 10 +++++----- .../modules/home/components/listsTable/index.ts | 6 ++++++ .../home/{ => components/listsTable}/listsTable.css | 0 4 files changed, 13 insertions(+), 7 deletions(-) rename src/FilterLists.Web/ClientApp/modules/home/components/{ => listsTable}/ListsTable.tsx (96%) create mode 100644 src/FilterLists.Web/ClientApp/modules/home/components/listsTable/index.ts rename src/FilterLists.Web/ClientApp/modules/home/{ => components/listsTable}/listsTable.css (100%) diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/index.ts b/src/FilterLists.Web/ClientApp/modules/home/components/index.ts index 4b538e956..6efde3d06 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/index.ts +++ b/src/FilterLists.Web/ClientApp/modules/home/components/index.ts @@ -1,6 +1,6 @@ import { DetailsExpander } from "./detailsExpander"; -import { ListsTable } from "./ListsTable"; -import { IColumnVisibility } from "./ListsTable"; +import { ListsTable } from "./listsTable"; +import { IColumnVisibility } from "./listsTable"; import { Tagline } from "./Tagline"; export { diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/ListsTable.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/ListsTable.tsx similarity index 96% rename from src/FilterLists.Web/ClientApp/modules/home/components/ListsTable.tsx rename to src/FilterLists.Web/ClientApp/modules/home/components/listsTable/ListsTable.tsx index 2f70c2d7b..bba51e4ce 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/ListsTable.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/ListsTable.tsx @@ -1,13 +1,13 @@ import * as React from "react"; -import { IListDto } from "./IListDto"; -import { ISoftwareDto } from "./ISoftwareDto"; -import { ILanguageDto } from "./ILanguageDto"; +import { IListDto } from "../../IListDto"; +import { ISoftwareDto } from "../../ISoftwareDto"; +import { ILanguageDto } from "../../ILanguageDto"; import ReactTable from "react-table" import "react-table/react-table.css" import "./listsTable.css"; import * as moment from "moment"; -import { getContrast } from "../../utils/GetContrast"; -import { DetailsExpander } from "./components"; +import { getContrast } from "../../../../utils/GetContrast"; +import { DetailsExpander } from "../../components"; export interface IColumnVisibility { column: string; diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/index.ts b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/index.ts new file mode 100644 index 000000000..afe683357 --- /dev/null +++ b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/index.ts @@ -0,0 +1,6 @@ +import { ListsTable, IColumnVisibility } from "./ListsTable"; + +export { + ListsTable, + IColumnVisibility + }; \ No newline at end of file diff --git a/src/FilterLists.Web/ClientApp/modules/home/listsTable.css b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/listsTable.css similarity index 100% rename from src/FilterLists.Web/ClientApp/modules/home/listsTable.css rename to src/FilterLists.Web/ClientApp/modules/home/components/listsTable/listsTable.css