Hide avatar settings behind feature flag
Some checks failed
continuous-integration/drone/push Build is failing

In favor of #157
This commit is contained in:
Râu Cao 2024-03-01 11:13:49 +01:00
parent 0e2dc54dc6
commit 5b7fc3707b
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -31,6 +31,7 @@
<% end %>
<% end %>
<% if Flipper.enabled?(:avatar_upload, current_user) %>
<label class="block">
<p class="font-bold mb-1">
Avatar
@ -56,6 +57,7 @@
</div>
</div>
</label>
<% end %>
<p class="mt-8 pt-6 border-t border-gray-200 text-right">
<%= f.submit 'Save', class: "btn-md btn-blue w-full md:w-auto" %>