Skip to content

Commit

Permalink
Save unsubmitted source filters on search save
Browse files Browse the repository at this point in the history
  • Loading branch information
schroda committed Dec 20, 2024
1 parent 1f7fe5f commit c618313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/source/screens/SourceMangas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,11 @@ export function SourceMangas() {

const updatedSavedSearches = {
...savedSearches,
[savedSearch]: { query: query ?? undefined, filters: filtersToApply },
[savedSearch]: { query: query ?? undefined, filters: dialogFiltersToApply },
};
updateSourceMetadata('savedSearches', updatedSavedSearches);
},
[savedSearches, query, filtersToApply],
[savedSearches, query, dialogFiltersToApply],
);

const message = !isLoading ? t(SOURCE_CONTENT_TYPE_TO_ERROR_MSG_KEY[contentType]) : undefined;
Expand Down

0 comments on commit c618313

Please sign in to comment.