Skip to content

Commit

Permalink
fix: claim display
Browse files Browse the repository at this point in the history
  • Loading branch information
ScuffedNewt committed Sep 4, 2024
1 parent 31484af commit 5826ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/home/submission.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@auth
@if ($submission->user_id == Auth::user()->id && $submission->status == 'Pending')
{!! Form::open(['url' => url()->current(), 'id' => 'submissionForm']) !!}
@if (!count(getLimits($submission->prompt)))
@if ($isClaim || !count(getLimits($submission->prompt)))
<div class="text-right">
<a href="#" class="btn btn-danger mr-2" id="cancellationButton">Cancel {{ $submission->prompt_id ? 'submission' : 'claim' }}</a>
</div>
Expand Down

0 comments on commit 5826ebf

Please sign in to comment.