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