diff --git a/app/Http/Controllers/TrabalhoController.php b/app/Http/Controllers/TrabalhoController.php index 8336fa0fece681bae3859487d33f7556ec7a99f9..544c4e698ee855fba2a78ff18688b5981c51a7c3 100755 --- a/app/Http/Controllers/TrabalhoController.php +++ b/app/Http/Controllers/TrabalhoController.php @@ -956,8 +956,6 @@ class TrabalhoController extends Controller DB::commit(); if (!$request->has('rascunho')) { Notification::send(Auth::user(), new SubmissaoNotification($id,$trabalho->titulo)); - } else { - } return redirect(route('proponente.projetos'))->with(['mensagem' => 'Proposta atualizada!']); diff --git a/resources/views/projeto/editar.blade.php b/resources/views/projeto/editar.blade.php index 757402d588a1782ea6b3630e5b4d8906225b912a..c9b30de199cca0f17b9c4c77745097a49e3c32de 100755 --- a/resources/views/projeto/editar.blade.php +++ b/resources/views/projeto/editar.blade.php @@ -128,7 +128,7 @@ }) buttonRascunho.addEventListener('click', (e)=>{ - $('.collapse').addClass('show') + $('.collapse').addClass('show'); const input = ''; $("#updateProjetoForm").append(input); })