fix: public title with no system name

This commit is contained in:
Spectralitree 2021-12-20 07:57:59 +01:00
parent 63c8ffb36f
commit 80a130d9a8

View File

@ -34,7 +34,7 @@
try { try {
let res: Sys = await api.getSystem({id: id}) let res: Sys = await api.getSystem({id: id})
user = res; user = res;
title = user.name; title = user.name ? user.name : "system";
} catch (error) { } catch (error) {
console.log(error); console.log(error);
err = error.message; err = error.message;