diff --git a/src/Actions/ClearCache.php b/src/Actions/ClearCache.php index 42f13c6..e44d13a 100644 --- a/src/Actions/ClearCache.php +++ b/src/Actions/ClearCache.php @@ -43,6 +43,10 @@ public function visibleTo($item) return false; } + if ($item instanceof Term) { + return true; + } + return ! Blink::once( 'cache-action::'.$item->collectionHandle.'::'.$item->locale(), fn () => is_null($item->collection()->route($item->locale()))