chore(client): missing class selector

This commit is contained in:
Elian Doran 2025-09-14 20:57:36 +03:00
parent adae78e747
commit 29f9c311d2
No known key found for this signature in database

View File

@ -40,7 +40,7 @@ export default function NoteInfoTab({ note }: TabContext) {
<tbody>
<tr>
<th>{t("note_info_widget.note_id")}:</th>
<td>{note.noteId}</td>
<td class="note-info-id">{note.noteId}</td>
<th>{t("note_info_widget.created")}:</th>
<td>{formatDateTime(metadata?.dateCreated)}</td>
<th>{t("note_info_widget.modified")}:</th>
@ -64,11 +64,11 @@ export default function NoteInfoTab({ note }: TabContext) {
text={t("note_info_widget.calculate")}
onClick={() => {
setIsLoading(true);
setTimeout(async () => {
setTimeout(async () => {
await Promise.allSettled([
server.get<NoteSizeResponse>(`stats/note-size/${note.noteId}`).then(setNoteSizeResponse),
server.get<SubtreeSizeResponse>(`stats/subtree-size/${note.noteId}`).then(setSubtreeSizeResponse)
]);
]);
setIsLoading(false);
}, 0);
}}
@ -87,7 +87,7 @@ export default function NoteInfoTab({ note }: TabContext) {
</tr>
</tbody>
</table>
)}
)}
</div>
)
}
}