chore: 🎨 format

This commit is contained in:
ThatOneCalculator 2023-12-05 19:32:39 -08:00
parent f0391d0769
commit 6d602fa80a
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 5 additions and 2 deletions

View File

@ -782,7 +782,10 @@ async function insertNote(
await transactionalEntityManager.insert(Note, insert); await transactionalEntityManager.insert(Note, insert);
let expiresAt: Date | null; let expiresAt: Date | null;
if (!data.poll.expiresAt || Number.isNaN(data.poll.expiresAt.getTime())) { if (
!data.poll.expiresAt ||
Number.isNaN(data.poll.expiresAt.getTime())
) {
expiresAt = null; expiresAt = null;
} else { } else {
expiresAt = data.poll.expiresAt; expiresAt = data.poll.expiresAt;

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="yfudmmck"> <div class="yfudmmck">
<nav :style="fullPageHeader ? '' : {'position': 'fixed'}"> <nav :style="fullPageHeader ? '' : { position: 'fixed' }">
<div class="path" @contextmenu.prevent.stop="() => {}"> <div class="path" @contextmenu.prevent.stop="() => {}">
<XNavFolder <XNavFolder
:class="{ current: folder == null }" :class="{ current: folder == null }"