kernal clean-up
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<!-- ---------------------------------------------- -->
|
||||
<!-- searchbar -->
|
||||
<!-- ---------------------------------------------- -->
|
||||
<v-text-field persistent-placeholder placeholder="Ctrl + k" color="primary" variant="outlined" hide-details density="compact">
|
||||
<v-text-field persistent-placeholder placeholder="Ctrl + k" color="primary" variant="outlined" hide-details density="compact" autocomplete="off">
|
||||
<template v-slot:prepend-inner>
|
||||
<v-icon size="small" color="lightText">mdi-magnify</v-icon>
|
||||
</template>
|
||||
|
||||
@@ -62,6 +62,10 @@ export async function initializeModules(app: App): Promise<void> {
|
||||
const loadPromises: Promise<void>[] = [];
|
||||
|
||||
for (const [moduleId, moduleInfo] of Object.entries(availableModules)) {
|
||||
if (!moduleInfo) {
|
||||
console.warn(`Module ${moduleId} has no configuration, skipping`);
|
||||
continue;
|
||||
}
|
||||
if (moduleInfo.handle && moduleInfo.boot && !moduleInfo.booted) {
|
||||
const moduleHandle = moduleInfo.handle;
|
||||
const moduleUrl = `/modules/${moduleInfo.handle}/${moduleInfo.boot}`;
|
||||
|
||||
Reference in New Issue
Block a user