Show the relay list before the profile in Nostr settings
CI / Test (pull_request) Successful in 48s

The profile and the media server list are published to the user's write
relays, so they should be set up after the relay list. This also makes
the page order match the discovery order (relays -> profile -> media
servers) shown while loading.
This commit is contained in:
raucao committed 2026-11-19 10:39:56 +04:00
1 parent ae13890cea
commit 7f0d10aa9c
1 file changed
+7 -7
+7 -7
View File
@@ -1,3 +1,10 @@
<section class="">
<h3>Relays</h3>
<%= render Settings::NostrRelayStatusComponent.new(
nip65_event: @nip65_event
) %>
</section>
<section class="">
<h3>Profile</h3>
<%= render Settings::NostrProfileStatusComponent.new(
@@ -17,13 +24,6 @@
</div>
</section>
<section class="">
<h3>Relays</h3>
<%= render Settings::NostrRelayStatusComponent.new(
nip65_event: @nip65_event
) %>
</section>
<section class="mb-8 sm:mb-12">
<h3>Media servers</h3>
<%= render Settings::NostrMediaServerStatusComponent.new(