mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-06 20:33:33 +01:00
Merge pull request #908 from h3poteto/iss-893
closes #893 Remove commas between pinned hashtags in new toot
This commit is contained in:
commit
064ab4d44a
@ -170,7 +170,7 @@ const actions: ActionTree<NewTootState, RootState> = {
|
|||||||
},
|
},
|
||||||
openModal: ({ dispatch, commit, state }) => {
|
openModal: ({ dispatch, commit, state }) => {
|
||||||
if (!state.replyToMessage && state.pinedHashtag) {
|
if (!state.replyToMessage && state.pinedHashtag) {
|
||||||
commit(MUTATION_TYPES.UPDATE_INITIAL_STATUS, state.hashtags.map(t => ` #${t.name}`).join())
|
commit(MUTATION_TYPES.UPDATE_INITIAL_STATUS, state.hashtags.map(t => `#${t.name}`).join(' '))
|
||||||
}
|
}
|
||||||
commit(MUTATION_TYPES.CHANGE_MODAL, true)
|
commit(MUTATION_TYPES.CHANGE_MODAL, true)
|
||||||
dispatch('fetchVisibility')
|
dispatch('fetchVisibility')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user