1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 05:25:24 +02:00

Opt-in to Current fully (#297)

This commit is contained in:
Dwight Watson 2024-02-05 10:36:46 +11:00 committed by GitHub
parent 23eaa3e066
commit d61a22b070
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 24 additions and 23 deletions

View file

@ -32,7 +32,7 @@
<% end %>
<div class="relative" data-controller="dropdown">
<div class="flex" data-action="click->dropdown#toggleMenu">
<div class="mr-1.5 text-white w-8 h-8 bg-gray-400 rounded-full flex items-center justify-center text-lg uppercase"><%= current_user.email.first %></div>
<div class="mr-1.5 text-white w-8 h-8 bg-gray-400 rounded-full flex items-center justify-center text-lg uppercase"><%= Current.user.email.first %></div>
</div>
<div class="absolute z-10 hidden w-screen px-2 mt-2 -translate-x-1/2 left-1/2 max-w-min" data-dropdown-target="menu">
@ -63,7 +63,7 @@
<div>
<h2 class="text-sm font-semibold font-display">Cash</h2>
<% current_family.accounts.each do |account| %>
<% Current.family.accounts.each do |account| %>
<div class="flex items-center justify-between py-2">
<div class="flex items-center text-sm">
<%= account.name %>