Skip to content

Commit 57b1207

Browse files
committed
Stop showing the free plugins banner
1 parent afe7a4a commit 57b1207

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

resources/views/customer/licenses/index.blade.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@
1818
{{-- Banners --}}
1919
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mb-6">
2020
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
21-
@if(auth()->user()->shouldSeeFreePluginsOffer())
22-
<x-free-plugins-offer-banner :inline="true" />
23-
@endif
21+
@feature(App\Features\ShowPlugins::class)
22+
@if(auth()->user()->shouldSeeFreePluginsOffer())
23+
<x-free-plugins-offer-banner :inline="true" />
24+
@endif
25+
@else
26+
<x-discounts-banner :inline="true" />
27+
@endfeature
2428
<livewire:wall-of-love-banner :inline="true" />
2529
</div>
2630
</div>

0 commit comments

Comments
 (0)