fix: buildFrontmatterCard non exporté de ui.js → cassait le rendu des documents (et donc les tabs)
This commit is contained in:
parent
8232f1bdf2
commit
7c288460c3
@ -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 "—";
|
||||
|
||||
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user