fix(ui): admin panel, profile: restore missing icons library

This commit is contained in:
Edouard Vanbelle
2026-05-07 13:54:59 +02:00
parent 405721c679
commit 93d9a21013
7 changed files with 37 additions and 23 deletions
+2
View File
@@ -1,5 +1,6 @@
import { getCsrfHeaders } from '../../core/csrf.js';
import { i18n } from '../../core/i18n.js';
import { oxiIconsInit } from '../../core/icons.js';
const API = '/api';
@@ -29,6 +30,7 @@ function timeAgo(dateStr) {
async function init() {
try {
oxiIconsInit();
const resp = await fetch(`${API}/auth/me`, {
headers: headers(),
credentials: 'same-origin'