Browse Source

fixup: lint errors

pull/686/head
Philip H. 1 year ago
committed by GitHub
parent
commit
6aad72296c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/www/js/app.js

4
src/www/js/app.js

@ -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…
Cancel
Save