Skip to content

Commit 206ccee

Browse files
authored
fix: error viewing tool when related document has no revisions (resolves #3031) (#3032)
* fix: error viewing tool when related document has no revisions
1 parent 2468f16 commit 206ccee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/views/tools/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828
</div>
2929

30-
@if ($tool->documents->count())
30+
@if ($tool->revisions->count())
3131
<x-section class="full dark -mb-8" aria-labelledby="download-tool">
3232
<div class="center stack stack:xl py-20" x-data="{
3333
open: false,

0 commit comments

Comments
 (0)