Skip to content

Commit

Permalink
Add route and button to access the triptych config table
Browse files Browse the repository at this point in the history
  • Loading branch information
jzimbel-mbta committed Aug 30, 2023
1 parent cc0253c commit 5ef7ee9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/src/apps/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -77,6 +78,9 @@ const App = (): JSX.Element => {
<Route exact path="/pre-fare-v2-screens">
<PreFareV2ScreensTable />
</Route>
<Route exact path="/triptych-v2-screens">
<TriptychV2ScreensTable />
</Route>
<Route exact path="/json-editor">
<AdminForm />
</Route>
Expand Down
3 changes: 3 additions & 0 deletions assets/src/components/admin/admin_navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ const AdminNavbar = (): JSX.Element => {
<Link to="/pre-fare-v2-screens">
<button>Pre-Fare V2 Screens Table</button>
</Link>
<Link to="/triptych-v2-screens">
<button>Triptych V2 Screens Table</button>
</Link>
<Link to="/json-editor">
<button>JSON Editor</button>
</Link>
Expand Down

0 comments on commit 5ef7ee9

Please sign in to comment.