core: drop system/setting-loaded event

This commit is contained in:
undefined committed 2026-10-13 11:03:31 +00:00
1 parent 48c358c29c
commit 54ae550586
5 files changed
+44 -34

No files matched your search

+1 -2
View File
@@ -286,7 +286,6 @@ export async function apply(ctx: Context) {
await buildVersions();
});
ctx.on('app/i18n/update', buildI18n);
ctx.on('system/setting-loaded', buildCodeLangs);
ctx.on('system/setting', buildCodeLangs);
const vite = await createServer({
@@ -394,8 +393,8 @@ export async function apply(ctx: Context) {
};
ctx.on('app/watch/change', triggerHotUpdate);
ctx.on('app/watch/unlink', triggerHotUpdate);
ctx.on('system/setting-loaded', buildCodeLangs);
ctx.on('system/setting', debouncedBuild);
ctx.on('app/i18n/update', debouncedBuild);
}
ctx.inject(['model:setting'], buildCodeLangs);
}