fix: buildFrontmatterCard non exporté de ui.js → cassait le rendu des documents (et donc les tabs)
This commit is contained in:
+1
-1
@@ -512,7 +512,7 @@ export function initTagResize() {
|
|||||||
// Frontmatter Accent Card Builder
|
// Frontmatter Accent Card Builder
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
function buildFrontmatterCard(frontmatter) {
|
export function buildFrontmatterCard(frontmatter) {
|
||||||
// Helper: format date
|
// Helper: format date
|
||||||
function formatDate(iso) {
|
function formatDate(iso) {
|
||||||
if (!iso) return "—";
|
if (!iso) return "—";
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { api } from './auth.js';
|
import { api } from './auth.js';
|
||||||
import { state } from './state.js';
|
import { state } from './state.js';
|
||||||
import { escapeHtml, safeCreateIcons, safeHighlight, getFileIcon } from './utils.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 { syncActiveFileTreeItem, searchByTag, TagFilterService } from './sidebar.js';
|
||||||
import { AutocompleteDropdown } from './search.js';
|
import { AutocompleteDropdown } from './search.js';
|
||||||
import { initDashboardTabs } from './sync.js';
|
import { initDashboardTabs } from './sync.js';
|
||||||
|
|||||||
Reference in New Issue
Block a user