From 626546eac215a7f2abdf822b9d3d22289a28e68d Mon Sep 17 00:00:00 2001 From: Dennis Date: Mon, 10 Feb 2020 16:00:10 +0100 Subject: [PATCH] Change to JS PHP unserialize to prevent DB queries --- resources/js/screens/recentJobs/index.vue | 50 +++---------- resources/js/screens/recentJobs/job-row.vue | 71 +++++++++++++++++++ resources/js/screens/recentJobs/job.vue | 19 ++++- src/Http/Controllers/RecentJobsController.php | 4 -- 4 files changed, 98 insertions(+), 46 deletions(-) create mode 100644 resources/js/screens/recentJobs/job-row.vue diff --git a/resources/js/screens/recentJobs/index.vue b/resources/js/screens/recentJobs/index.vue index 4074e0c5..7d39c314 100644 --- a/resources/js/screens/recentJobs/index.vue +++ b/resources/js/screens/recentJobs/index.vue @@ -1,4 +1,6 @@ + diff --git a/resources/js/screens/recentJobs/job.vue b/resources/js/screens/recentJobs/job.vue index 76c14e24..87f45c31 100644 --- a/resources/js/screens/recentJobs/job.vue +++ b/resources/js/screens/recentJobs/job.vue @@ -1,5 +1,6 @@