fixup: lint errors
This commit is contained in:
parent
9a93f82314
commit
6aad72296c
|
@ -288,8 +288,8 @@ new Vue({
|
||||||
Promise.resolve().then(async () => {
|
Promise.resolve().then(async () => {
|
||||||
const currentRelease = await this.api.getRelease();
|
const currentRelease = await this.api.getRelease();
|
||||||
const latestRelease = await fetch('https://wg-easy.github.io/wg-easy/changelog.json')
|
const latestRelease = await fetch('https://wg-easy.github.io/wg-easy/changelog.json')
|
||||||
.then(res => res.json())
|
.then((res) => res.json())
|
||||||
.then(releases => {
|
.then((releases) => {
|
||||||
const releasesArray = Object.entries(releases).map(([version, changelog]) => ({
|
const releasesArray = Object.entries(releases).map(([version, changelog]) => ({
|
||||||
version: parseInt(version, 10),
|
version: parseInt(version, 10),
|
||||||
changelog,
|
changelog,
|
||||||
|
|
Loading…
Reference in New Issue