Displaying name and version in footer.

This commit is contained in:
Roland 2022-01-30 16:59:26 -07:00
parent 3821722d0c
commit 8170313dd7
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
5 changed files with 35 additions and 2 deletions

View file

@ -385,3 +385,9 @@ export async function deleteFile(file) {
let body = {file: file};
await apiPost(`${API_URI}/files/delete`, body);
}
export async function getVersion() {
let response = await apiGet(`${API_URI}/settings`);
let data = await response.json();
return data['version'];
}