This commit is contained in:
2020-06-20 14:21:59 +00:00
parent 639916fbfa
commit 79a476cb49
8 changed files with 23 additions and 29 deletions

View File

@@ -291,7 +291,7 @@ async function fetchTranslatedText(vm) {
async function getServerInfo(vm) {
let res = await window.$gz.api.get("server-info");
//We never expect there to be no data here
if (!res.data) {
if (!res.hasOwnProperty("data")) {
throw res;
} else {
vm.serverInfo = res.data;