Added ability to run add recommended relays from popup.

This commit is contained in:
Ryan Breen
2023-01-28 20:46:49 -05:00
parent 6a31c3b135
commit b6a4a5b5dc
5 changed files with 51 additions and 58 deletions

View File

@@ -20,6 +20,15 @@
</div>
</div>
<div class="relay" x-show="relayCount < 1">
<span>
You do not have any relays setup for this profile. Would you like to add some recommended
relays now?
</span>
<br>
<button @click="await addRelays()">Add Relays</button>
</div>
<div class="help">
<button @click='window.open("https://ursus.camp/nostore", "_blank")'>Get Help</button>
<button @click="await openOptions()">Advanced</button>