feat(apps): enhance multi-select app addition with modifier keys and helper tip
This commit is contained in:
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,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user