forked from AkkomaGang/akkoma-fe
Actually fix image url.
This commit is contained in:
parent
70d66c48ad
commit
f4b1319eff
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ const PostStatusForm = {
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
screen_name: `:${shortcode}:`,
|
screen_name: `:${shortcode}:`,
|
||||||
name: '',
|
name: '',
|
||||||
img: url
|
img: image-url
|
||||||
}))
|
}))
|
||||||
} else {
|
} else {
|
||||||
return false
|
return false
|
||||||
|
|
|
@ -108,7 +108,7 @@ window.fetch('/static/emoji.txt')
|
||||||
.then((csv) => {
|
.then((csv) => {
|
||||||
const emoji = csv.split('\n').map((row) => {
|
const emoji = csv.split('\n').map((row) => {
|
||||||
const values = row.split(', ')
|
const values = row.split(', ')
|
||||||
return { shortcode: values[0], url: values[1] }
|
return { shortcode: values[0], image-url: values[1] }
|
||||||
})
|
})
|
||||||
store.dispatch('setOption', { name: 'emoji', value: emoji })
|
store.dispatch('setOption', { name: 'emoji', value: emoji })
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue