voting added

This commit is contained in:
HolgerHatGarKeineNode
2023-03-10 23:50:37 +01:00
parent 12e9e6cfd7
commit 756b171647
14 changed files with 45 additions and 12 deletions

View File

@@ -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)