mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
voting added
This commit is contained in:
@@ -38,6 +38,7 @@ class ProjectProposalVoting extends Component
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->projectProposal->load('votes');
|
||||
$vote = Vote::query()
|
||||
->where('user_id', auth()->id())
|
||||
->where('project_proposal_id', $this->projectProposal->id)
|
||||
|
||||
Reference in New Issue
Block a user