diff --git a/assets/src/apps/admin.tsx b/assets/src/apps/admin.tsx index de552ba5d..56d03fe30 100644 --- a/assets/src/apps/admin.tsx +++ b/assets/src/apps/admin.tsx @@ -23,6 +23,7 @@ import { BusShelterV2ScreensTable, PreFareV2ScreensTable, DupV2ScreensTable, + TriptychV2ScreensTable } from "Components/admin/admin_tables"; import ImageManager from "Components/admin/admin_image_manager"; import Devops from "Components/admin/devops"; @@ -77,6 +78,9 @@ const App = (): JSX.Element => { + + + diff --git a/assets/src/components/admin/admin_navbar.tsx b/assets/src/components/admin/admin_navbar.tsx index 80f39d664..4b11b084b 100644 --- a/assets/src/components/admin/admin_navbar.tsx +++ b/assets/src/components/admin/admin_navbar.tsx @@ -49,6 +49,9 @@ const AdminNavbar = (): JSX.Element => { + + + diff --git a/assets/src/components/admin/admin_tables.tsx b/assets/src/components/admin/admin_tables.tsx index bed883eef..241224087 100644 --- a/assets/src/components/admin/admin_tables.tsx +++ b/assets/src/components/admin/admin_tables.tsx @@ -687,6 +687,24 @@ const shuttleBusInfoColumn = { FormCell: FormTextarea, }; +const trainCrowdingColumn = { + Header: "Train Crowding", + accessor: buildAppParamAccessor("train_crowding"), + mutator: buildAppParamMutator("train_crowding"), + Cell: EditableTextarea, + disableFilters: true, + FormCell: FormTextarea, +}; + +const localEvergreenSetsColumn = { + Header: "Local Evergreen Content Sets", + accessor: buildAppParamAccessor("local_evergreen_sets"), + mutator: buildAppParamMutator("local_evergreen_sets"), + Cell: EditableTextarea, + disableFilters: true, + FormCell: FormTextarea, +}; + const PreFareV2ScreensTable = (): JSX.Element => { const dataFilter = ({ app_id }) => { return app_id === "pre_fare_v2"; @@ -762,7 +780,15 @@ const TriptychV2ScreensTable = (): JSX.Element => { return app_id === "triptych_v2"; }; - return ; + return ( + + ); }; export {