mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-21 12:29:36 +02:00
Added option to open links in the same tab for apps/bookamrs/search separately
This commit is contained in:
parent
0c3a27febd
commit
c03f302fa6
7 changed files with 50 additions and 13 deletions
|
@ -11,7 +11,7 @@ export const searchParser = (searchQuery: string): boolean => {
|
|||
const query = queries.find((q: Query) => q.prefix === prefix);
|
||||
|
||||
if (query) {
|
||||
const sameTab = searchConfig('openSameTab', false);
|
||||
const sameTab = searchConfig('searchSameTab', false);
|
||||
|
||||
if (sameTab) {
|
||||
document.location.replace(`${query.template}${search}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue