Skip to content

Commit

Permalink
Fix navigation to entry editor
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoshino committed Jan 23, 2025
1 parent cc1eab8 commit 1281e3b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib/components/contents/contents-page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@
*/
const collection = _collectionName ? getCollection(_collectionName) : undefined;
$selectedCollection =
collection && !collection.hide && $selectedCollection?.name !== collection.name
? collection
: undefined;
$selectedCollection = collection && !collection.hide ? collection : undefined;
if (!collection || !$selectedCollection) {
$announcedPageStatus = $_('collection_not_found');
Expand Down

0 comments on commit 1281e3b

Please sign in to comment.