mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
feat: stop force redirect to create collection form
This commit is contained in:
@@ -19,10 +19,6 @@ export default class ShowCollectionsController {
|
||||
this.linkService.getFavoriteLinksForAuthenticatedUser(),
|
||||
]);
|
||||
|
||||
if (collections.length === 0) {
|
||||
return response.redirectToNamedRoute('collection.create-form');
|
||||
}
|
||||
|
||||
const activeCollection = collections.find(
|
||||
(c) => c.id === activeCollectionId
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user