Skip to content

How to check for a deleted record in a template #1242

Answered by stephenafamo
ColonelBlimp asked this question in Q&A
Discussion options

You must be logged in to vote

Try {{ if $e.DeletedAt.Valid }} to check if it has been deleted

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ColonelBlimp
Comment options

Answer selected by ColonelBlimp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants