feat: allow user delete mail && notify when send access changed (#132)

This commit is contained in:
Dream Hunter
2024-04-15 23:19:05 +08:00
committed by GitHub
parent 50f04b2456
commit 00231e7ade
8 changed files with 80 additions and 5 deletions

View File

@@ -86,6 +86,9 @@ onMounted(async () => {
<n-tag type="info">
ID: {{ row.id }}
</n-tag>
<n-tag type="info">
TO: {{ row.address }}
</n-tag>
</n-space>
</template>
<div v-html="row.message"></div>

View File

@@ -57,6 +57,7 @@ const updateData = async () => {
await api.fetch(`/admin/address_sender`, {
method: 'POST',
body: JSON.stringify({
address: curRow.value.address,
address_id: curRow.value.id,
balance: senderBalance.value,
enabled: senderEnabled.value ? 1 : 0