fix: buildFrontmatterCard non exporté de ui.js → cassait le rendu des documents (et donc les tabs)
All checks were successful
CI / lint (push) Successful in 13s
CI / security (push) Successful in 7s
CI / test (push) Successful in 15s
CI / build (push) Successful in 2s

This commit is contained in:
Bruno Charest 2026-05-29 14:40:26 -04:00
parent 8232f1bdf2
commit 7c288460c3
2 changed files with 2 additions and 2 deletions

View File

@ -512,7 +512,7 @@ export function initTagResize() {
// Frontmatter Accent Card Builder
// ---------------------------------------------------------------------------
function buildFrontmatterCard(frontmatter) {
export function buildFrontmatterCard(frontmatter) {
// Helper: format date
function formatDate(iso) {
if (!iso) return "—";

View File

@ -2,7 +2,7 @@
import { api } from './auth.js';
import { state } from './state.js';
import { escapeHtml, safeCreateIcons, safeHighlight, getFileIcon } from './utils.js';
import { TabManager, closeMobileSidebar, ContextMenuManager, RightSidebarManager, showToast } from './ui.js';
import { TabManager, closeMobileSidebar, ContextMenuManager, RightSidebarManager, showToast, buildFrontmatterCard } from './ui.js';
import { syncActiveFileTreeItem, searchByTag, TagFilterService } from './sidebar.js';
import { AutocompleteDropdown } from './search.js';
import { initDashboardTabs } from './sync.js';