mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-18 14:09:38 +08:00
Hide deployment groups behind a feature flag
This commit is contained in:
parent
5df690f705
commit
5430af10ed
2 changed files with 6 additions and 1 deletions
|
|
@ -74,3 +74,5 @@ config :phoenix, :plug_init_mode, :runtime
|
||||||
config :livebook, :authentication_mode, :disabled
|
config :livebook, :authentication_mode, :disabled
|
||||||
|
|
||||||
config :livebook, :data_path, Path.expand("tmp/livebook_data/dev")
|
config :livebook, :data_path, Path.expand("tmp/livebook_data/dev")
|
||||||
|
|
||||||
|
config :livebook, :feature_flags, deployment_groups: true
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,10 @@ defmodule LivebookWeb.Hub.Edit.TeamComponent do
|
||||||
/>
|
/>
|
||||||
</div>
|
</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">
|
<h2 class="text-xl text-gray-800 font-medium pb-2 border-b border-gray-200">
|
||||||
Deployment groups
|
Deployment groups
|
||||||
</h2>
|
</h2>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue