feat(apps): enhance multi-select app addition with modifier keys and helper tip

This commit is contained in:
Thomas Camlong committed 2026-08-21 00:31:19 +02:00
1 parent 1615f88a22
commit 7a7d4449c1
2 files changed
+48 -21

No files matched your search

@@ -41,6 +41,14 @@ const AddMenu = () => {
options: { appId: app.id },
});
},
onSelectMany: (apps) => {
for (const app of apps) {
createItem({
kind: "app",
options: { appId: app.id },
});
}
},
withCreate: session?.user.permissions.includes("app-create") ?? false,
});
};