[BUGFIX] adminpanel: Do not use getTSConfig in a deprecated way