Edit collection (#173)
* Collection edit modal * Add icon * 💚 * Oh look, some specs * Delete collection * Remove from collection * Handle error responses Protect against deleting last collection * Fix key * 💚 * Keyboard navigate documents list * Add missing database constraints
This commit is contained in:
@@ -62,9 +62,11 @@ const Auth = ({ children }: AuthProps) => {
|
||||
authenticatedStores = {
|
||||
user,
|
||||
documents: new DocumentsStore({
|
||||
ui: stores.ui,
|
||||
cache,
|
||||
}),
|
||||
collections: new CollectionsStore({
|
||||
ui: stores.ui,
|
||||
teamId: user.team.id,
|
||||
cache,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user