Skip to content

Commit

Permalink
IP-312: The max num of votes is passed in the problem page view model…
Browse files Browse the repository at this point in the history
… and passed in the vue component as a prop
  • Loading branch information
PavlosIsaris committed Dec 12, 2024
1 parent bb1d94f commit 9bcaee8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/problem/partials/solutions-list.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
:problem-id='{{ $viewModel->problem->id }}'
:problem-slug='@json($viewModel->problem->slug)'
:project-slug='@json($viewModel->project->slug)'
:max-votes-per-user-for-solutions='@json($viewModel->project->max_votes_per_user_for_solutions)'
:button-text-color-theme='@json($viewModel->project->lp_btn_text_color_theme)'>
</solutions>

Expand Down

0 comments on commit 9bcaee8

Please sign in to comment.