mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-25 23:52:31 +08:00
Change message when there are no app secrets (#1587)
This commit is contained in:
parent
b388996bcc
commit
10da0a2311
1 changed files with 7 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue