local path on resources.
This commit is contained in:
parent
69e7990afb
commit
79e817e0b2
@ -60,7 +60,7 @@ export const actions = actionTree(
|
|||||||
{
|
{
|
||||||
initialise() {
|
initialise() {
|
||||||
$http
|
$http
|
||||||
.get<Emojis>('/emoji.json')
|
.get<Emojis>('emoji.json')
|
||||||
.then((req) => {
|
.then((req) => {
|
||||||
for (const group of req.data.groups) {
|
for (const group of req.data.groups) {
|
||||||
accessor.emoji.addGroup(group)
|
accessor.emoji.addGroup(group)
|
||||||
|
@ -72,10 +72,9 @@ export const actions = actionTree(
|
|||||||
{
|
{
|
||||||
initialise() {
|
initialise() {
|
||||||
$http
|
$http
|
||||||
.get<KeyboardLayouts>('/keyboard_layouts.json')
|
.get<KeyboardLayouts>('keyboard_layouts.json')
|
||||||
.then((req) => {
|
.then((req) => {
|
||||||
accessor.settings.setKeyboardLayoutsList(req.data)
|
accessor.settings.setKeyboardLayoutsList(req.data)
|
||||||
console.log(req.data)
|
|
||||||
})
|
})
|
||||||
.catch(console.error)
|
.catch(console.error)
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user