Hide deployment groups behind a feature flag

This commit is contained in:
Jonatan Kłosko 2023-12-12 21:34:21 +07:00
parent 5df690f705
commit 5430af10ed
2 changed files with 6 additions and 1 deletions

View file

@ -74,3 +74,5 @@ config :phoenix, :plug_init_mode, :runtime
config :livebook, :authentication_mode, :disabled
config :livebook, :data_path, Path.expand("tmp/livebook_data/dev")
config :livebook, :feature_flags, deployment_groups: true

View file

@ -210,7 +210,10 @@ defmodule LivebookWeb.Hub.Edit.TeamComponent do
/>
</div>
<div class="flex flex-col space-y-4">
<div
:if={Livebook.Config.feature_flag_enabled?(:deployment_groups)}
class="flex flex-col space-y-4"
>
<h2 class="text-xl text-gray-800 font-medium pb-2 border-b border-gray-200">
Deployment groups
</h2>