mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Increase limit (default is 25) for shown number of collections in sidepanel
This commit is contained in:
1 parent
b1ea3ea722
commit
ce3f35fcbf
1 file changed
+4
-1
+4
-1
@@ -12,7 +12,10 @@ export const load: LayoutLoad = async ({ params, depends }) => {
|
||||
try {
|
||||
const [collection, allCollections] = await Promise.all([
|
||||
sdk.forProject.databases.getCollection(params.database, params.collection),
|
||||
sdk.forProject.databases.listCollections(params.database, [Query.orderDesc('')])
|
||||
sdk.forProject.databases.listCollections(params.database, [
|
||||
Query.orderDesc(''),
|
||||
Query.limit(100)
|
||||
])
|
||||
]);
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user