mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Fix hashtag url not working
This commit is contained in:
parent
82d88dbe10
commit
7edf63d41b
1 changed files with 2 additions and 1 deletions
|
@ -186,7 +186,8 @@ export const SHORTCUTS_META = {
|
|||
id: 'hashtag',
|
||||
title: ({ hashtag }) => hashtag,
|
||||
subtitle: ({ instance }) => instance,
|
||||
path: ({ hashtag }) => `/t/${hashtag.split(/\s+/).join('+')}`,
|
||||
path: ({ hashtag, instance }) =>
|
||||
`${instance ? `/${instance}` : ''}/t/${hashtag.split(/\s+/).join('+')}`,
|
||||
icon: 'hashtag',
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue