Skip to content

Commit 8a0f169

Browse files
authored
Merge pull request #736 from Thoth2023/bug/erro-modal-avaliacao-study-selection
Bug/erro modal avaliacao study selection
2 parents eed645c + 57ad341 commit 8a0f169

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

app/Livewire/Conducting/StudySelection/PaperModal.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,7 @@ class PaperModal extends Component
2626

2727
public $currentProject;
2828
public $projectId;
29-
public $paper = [
30-
'id_paper' => null,
31-
'title' => '',
32-
'author' => '',
33-
'year' => '',
34-
'doi' => '',
35-
'url' => '',
36-
'data_base' => null,
37-
'database_name' => '',
38-
'status_selection' => null,
39-
'status_description' => 'None',
40-
];
29+
public $paper = null;
4130
public $canEdit = false;
4231

4332
public $criterias;

resources/views/livewire/conducting/study-selection/paper-modal.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
<button type="button" class="btn btn-secondary"
140140
data-bs-dismiss="modal">{{ __('project/conducting.study-selection.modal.close' )}}</button>
141141
</div>
142+
<!--
142143
<div class="d-flex justify-content-between px-4">
143144
<button type="button" class="btn btn-outline-secondary" wire:click="previousPaper">
144145
<i class="fa-solid fa-arrow-left"></i>
@@ -147,6 +148,7 @@
147148
<i class="fa-solid fa-arrow-right"></i>
148149
</button>
149150
</div>
151+
-->
150152
</div>
151153
</div>
152154
</div>

0 commit comments

Comments
 (0)