mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
improvements in mobile layout for launchbar
This commit is contained in:
@@ -32,8 +32,11 @@ export default class LauncherContainer extends FlexContainer {
|
||||
.map(async launcherNote => {
|
||||
try {
|
||||
const launcherWidget = new LauncherWidget();
|
||||
await launcherWidget.initLauncher(launcherNote);
|
||||
this.child(launcherWidget);
|
||||
const success = await launcherWidget.initLauncher(launcherNote);
|
||||
|
||||
if (success) {
|
||||
this.child(launcherWidget);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
console.error(e);
|
||||
|
||||
Reference in New Issue
Block a user