Change message when there are no app secrets (#1587)

This commit is contained in:
José Valim 2022-12-14 21:06:04 +01:00 committed by GitHub
parent b388996bcc
commit 10da0a2311
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -640,7 +640,13 @@ defmodule LivebookWeb.SessionLive do
<h3 class="uppercase text-sm font-semibold text-gray-500">
App secrets
</h3>
<span class="text-sm text-gray-500">Toggle to share with this session</span>
<span class="text-sm text-gray-500">
<%= if @livebook_secrets == [] do %>
No secrets stored in Livebook so far
<% else %>
Toggle to share with this session
<% end %>
</span>
</div>
<div class="flex flex-col space-y-4 mt-6">