From 4471c3b87f99053b08975bc4b2a26aaec1d1089a Mon Sep 17 00:00:00 2001 From: Venkata Chandra Sekhar Nainala Date: Mon, 15 Jan 2024 12:26:32 +0100 Subject: [PATCH] fix: resolves #996 --- app/Http/Controllers/ProjectController.php | 2 +- resources/js/Shared/Samples.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ProjectController.php b/app/Http/Controllers/ProjectController.php index 0ddaac2c..3fa95c16 100644 --- a/app/Http/Controllers/ProjectController.php +++ b/app/Http/Controllers/ProjectController.php @@ -386,7 +386,7 @@ public function destroy(Request $request, StatefulGuard $guard, Project $project ]); } - if ($project->status = 'processing' || $project->status = 'queued') { + if ($project->status == 'processing' || $project->status == 'queued') { return redirect()->route('dashboard')->with('error', 'It is not possible to delete a project that is currently being processed or queued.'); } else { $creator->delete($project); diff --git a/resources/js/Shared/Samples.vue b/resources/js/Shared/Samples.vue index 0df52fa4..3fba5dba 100644 --- a/resources/js/Shared/Samples.vue +++ b/resources/js/Shared/Samples.vue @@ -1,7 +1,7 @@