fix: pre release screen fixes

This commit is contained in:
Taranto 2020-06-16 09:43:58 +01:00 committed by Josh Harvey
parent 1bcc87757b
commit 5dd8501a17
98 changed files with 1569 additions and 1149 deletions

View file

@ -5,6 +5,7 @@ const FileAsync = require('lowdb/adapters/FileAsync')
const adapter = new FileAsync('db.json')
let db = null
// TODO new-admin save to actual db, like the old settings
low(adapter).then(it => {
db = it
})
@ -54,6 +55,7 @@ function loadLatest () {
})
}
// TODO new-admin: grab correct version
function load (versionId) {
return new Promise((resolve) => {
if (!db) {