eighty9nine / filament-approvals

MIT License
68 stars 21 forks source link

Error for view action #21

Open alboxe opened 4 months ago

alboxe commented 4 months ago

In my ViewLeaveRequest I added the getOnCompletionAction() function as described in the usage section. When I click on a row or on the View button I get the error "Call to undefined method App\Models\LeaveRequest::shouldBeHidden()". This happens on non aproved leave request and fully approved ones. Any idea what went wrong? I imported ApprovableModel with use EightyNine\Approvals\Models\ApprovableModel; Kr. Albert Oxener

eighty9nine commented 3 months ago

Can you share the full stack trace of the issue please