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
+4
View File
@@ -1,3 +1,5 @@
import { oxiIconsInit } from '../../core/icons';
/**
* publicShare.js — Client-side logic for the public share page (/s/{token}).
*
@@ -27,6 +29,8 @@
const tokenIdx = pathParts.indexOf('s');
const TOKEN = tokenIdx !== -1 ? pathParts[tokenIdx + 1] : null;
oxiIconsInit();
if (!TOKEN) {
showState('expired');
$expiredMsg.textContent = 'Invalid share link.';