style: increase logbooks-grid gap to 24px and fix server sync ciphertext key mismatch
This commit is contained in:
+1
-1
@@ -532,7 +532,7 @@ body {
|
|||||||
.logbooks-grid {
|
.logbooks-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||||
gap: 16px;
|
gap: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logbook-card {
|
.logbook-card {
|
||||||
|
|||||||
@@ -85,7 +85,8 @@ router.post('/push', async (req: any, res) => {
|
|||||||
|
|
||||||
// Parse Payload parameters
|
// Parse Payload parameters
|
||||||
const parsed = JSON.parse(data)
|
const parsed = JSON.parse(data)
|
||||||
const { encryptedData, iv, tag } = parsed
|
const encryptedData = parsed.encryptedData || parsed.ciphertext
|
||||||
|
const { iv, tag } = parsed
|
||||||
|
|
||||||
if (type === 'yacht') {
|
if (type === 'yacht') {
|
||||||
if (action === 'delete') {
|
if (action === 'delete') {
|
||||||
|
|||||||
Reference in New Issue
Block a user