Refactor function and configuration names for experimental features

This commit is contained in:
Andras Bacsai
2024-10-24 22:00:26 +02:00
parent 0c34e81b2b
commit b1d2914c08
5 changed files with 7 additions and 6 deletions

View File

@@ -159,7 +159,7 @@
</div>
</div>
@if (!$server->isSwarm() && !$server->isBuildServer())
@if (isExperimentalEnabled())
@if (isExperimentalFeaturesEnabled())
<div class="flex gap-2 items-center pt-4 pb-2">
<h3>Sentinel</h3>
@if ($server->isSentinelEnabled())
@@ -181,7 +181,7 @@
<h3>Sentinel</h3>
<div>Sentinel is not available in this version (soon).</div>
@endif
@if (isExperimentalEnabled())
@if (isExperimentalFeaturesEnabled())
<div class="flex flex-col gap-2">
<div class="w-64">
<x-forms.checkbox wire:model.live="server.settings.is_sentinel_enabled"