Skip to content

Commit e86c500

Browse files
committed
whattheduck: Fix "No result found" toast not shown when searching from an existing cover search results view
1 parent 50f73f3 commit e86c500

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/whattheduck/src/composables/useCoverSearch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default (
5252
message: t('Aucun résultat pour votre photo, veuillez réessayer.'),
5353
duration: 2000,
5454
cssClass: 'toast-error',
55-
positionAnchor: 'overlay',
55+
positionAnchor: document.getElementById('overlay') ? 'overlay' : undefined,
5656
position: 'bottom',
5757
translucent: true,
5858
});

0 commit comments

Comments
 (0)