mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
using dynamic import for dialogs and widgets to speed up initial load
This commit is contained in:
@@ -5,7 +5,7 @@ import server from '../services/server.js';
|
||||
const $dialog = $("#recent-changes-dialog");
|
||||
const $content = $("#recent-changes-content");
|
||||
|
||||
async function showDialog() {
|
||||
export async function showDialog() {
|
||||
utils.closeActiveDialog();
|
||||
|
||||
glob.activeDialog = $dialog;
|
||||
@@ -76,7 +76,3 @@ function groupByDate(result) {
|
||||
}
|
||||
return groupedByDate;
|
||||
}
|
||||
|
||||
export default {
|
||||
showDialog
|
||||
};
|
||||
Reference in New Issue
Block a user