WIP Add RS auths/apps to Storage dashboard

This commit is contained in:
Râu Cao
2023-10-25 22:14:07 +02:00
parent 2b8bfaaca8
commit 00ec7fa21c
5 changed files with 48 additions and 1 deletions

View File

@@ -2,6 +2,15 @@
<%= render MainSimpleComponent.new do %>
<section>
<h3>Feature enabled</h3>
<h3 class="">Connected Apps</h3>
<% if @rs_auths.any? %>
<div class="w-full grid grid-columns-1 divide-y">
<% @rs_auths.each do |auth| %>
<%= render RsAuthComponent.new(auth: auth) %>
<% end %>
</div>
<% else %>
<p>No apps connected yet.</p>
<% end %>
</section>
<% end %>