Relays are partially working now in the options options script instead of background.

This commit is contained in:
Ryan Breen
2023-01-27 23:24:29 -05:00
parent f0c5cd29dc
commit 97f706e180
3 changed files with 44 additions and 22 deletions

View File

@@ -71,10 +71,10 @@
<tr>
<td class="p-2 w-1/3" x-text="relay.url"></td>
<td class="p-2 text-center">
<input class="checkbox" type="checkbox" x-model="relay.read" @change="await saveRelaysForProfile(index)">
<input class="checkbox" type="checkbox" x-model="relay.read" @change="saveRelays">
</td>
<td class="p-2 text-center">
<input class="checkbox" type="checkbox" x-model="relay.write" @change="await saveRelaysForProfile(index)">
<input class="checkbox" type="checkbox" x-model="relay.write" @change="saveRelays">
</td>
<td class="p-2 text-center">
<button class="button" @click="await deleteRelay(index)">Delete</button>