fix(dashboard): correct extensions.js import path
Calculate correct relative path from dashboardIntegration.js: - dashboardIntegration.js is 3 levels deeper than index.js (src/systems/dashboard/) - index.js uses '../../../extensions.js' (3 levels up) - dashboardIntegration.js needs 5 levels up to reach /scripts/extensions/ - Fixed from 7 levels to 5 levels: '../../../../../extensions.js'
This commit is contained in:
@@ -10,7 +10,7 @@ import { extensionSettings } from '../../core/state.js';
|
||||
import { saveSettings } from '../../core/persistence.js';
|
||||
import { renderExtensionTemplateAsync } from '../../../../../extensions.js';
|
||||
import { DashboardManager } from './dashboardManager.js';
|
||||
import { WidgetRegistry } from './core/widgetRegistry.js';
|
||||
import { WidgetRegistry } from './widgetRegistry.js';
|
||||
|
||||
// Widget imports
|
||||
import { registerUserStatsWidget } from './widgets/userStatsWidget.js';
|
||||
|
||||
Reference in New Issue
Block a user