mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client: fetch configurations from server at runtime
Permissions, regex filters, app title, email info, and safety now fetched using server's Info API
This commit is contained in:
committed by
Marcin Kurczewski
parent
2bf361c64a
commit
3972b902d8
@ -12,7 +12,7 @@ class HomeController {
|
||||
topNavigation.setTitle('Home');
|
||||
|
||||
this._homeView = new HomeView({
|
||||
name: config.name,
|
||||
name: api.getName(),
|
||||
version: config.meta.version,
|
||||
buildDate: config.meta.buildDate,
|
||||
canListSnapshots: api.hasPrivilege('snapshots:list'),
|
||||
|
Reference in New Issue
Block a user