From 2447e591b5541deaff9ff817bd5574156a1036b5 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 2 Oct 2018 21:56:56 +0000 Subject: [PATCH 1/2] View buttons now hooked up on the Dashboard --- src/App/pages/AdminDashboard.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App/pages/AdminDashboard.js b/src/App/pages/AdminDashboard.js index 4e42970..a8c47ac 100644 --- a/src/App/pages/AdminDashboard.js +++ b/src/App/pages/AdminDashboard.js @@ -16,6 +16,7 @@ import { orange300 } from 'material-ui/styles/colors'; import SimpleSlide from '../components/AdminDashboardSlide' import SimpleGrow from '../components/AdminDashboardGrow' import Header from './Header/Header'; +import { Link } from 'react-router-dom'; import Grow from '@material-ui/core/Grow'; @@ -94,7 +95,8 @@ class AdminDashboard extends Component { return( {form.type} - View + {/* View */} + View )}) } From f741085a784e1db3754f11c18a0fbe33966e5582 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 2 Oct 2018 22:00:40 +0000 Subject: [PATCH 2/2] removed commented out code. --- src/App/pages/AdminDashboard.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/App/pages/AdminDashboard.js b/src/App/pages/AdminDashboard.js index a8c47ac..1424fe5 100644 --- a/src/App/pages/AdminDashboard.js +++ b/src/App/pages/AdminDashboard.js @@ -95,7 +95,6 @@ class AdminDashboard extends Component { return( {form.type} - {/* View */} View )}) @@ -130,20 +129,7 @@ class AdminDashboard extends Component {

- - - {/* */} - {/* - Good Morning Ben.
Currently {todaysFormsNumber} forms from {todaysJobsNumber} active jobs -
*/} - - {/* - Today's Forms - */} - - {/* - Today's Active Jobs - */} +
) }