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

Fix auto upgrade logic (#758)

This commit is contained in:
Zach Gollwitzer 2024-05-17 17:25:15 -04:00 committed by GitHub
parent ddf26cd5e5
commit 0d0f766ca1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 61 additions and 23 deletions

View file

@ -12,7 +12,9 @@
</main>
</div>
<%= render "shared/upgrade_notification" %>
<% if (upgrade = get_upgrade_for_notification(Current.user, Setting.upgrades_mode)) %>
<%= render partial: "shared/upgrade_notification", locals: { upgrade: upgrade } %>
<% end %>
<% end %>
<%= render template: "layouts/application" %>