Skip to content

Commit

Permalink
Redirect to search results when searching from index page
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVelezLl committed Feb 1, 2025
1 parent b936e25 commit 696cfa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
props.setGoBack(() => {
const { searchTopicId } = routeQuery;
if (!isTopicFromSearchResult.value || !routeQuery.searchTopicId) {
if (!isTopicFromSearchResult.value) {
return instance.proxy.$router.push({
name: PageNames.LESSON_SELECT_RESOURCES_INDEX,
});
Expand Down

0 comments on commit 696cfa9

Please sign in to comment.