Skip to content
Snippets Groups Projects
Commit 8f3926a0 authored by eal's avatar eal
Browse files

Detect backend.

parent 6fd30945
No related branches found
No related tags found
1 merge request!188Add feature: follow import.
This commit is part of merge request !188. Comments created here will be created in the context of that merge request.
......@@ -137,8 +137,11 @@ window.fetch('/api/pleroma/emoji.json')
return { shortcode: key, image_url: values[key] }
})
store.dispatch('setOption', { name: 'emoji', value: emoji })
store.dispatch('setOption', { name: 'pleromaBackend', value: true })
},
(failure) => {}
(failure) => {
store.dispatch('setOption', { name: 'pleromaBackend', value: false })
}
),
(error) => console.log(error)
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment