diff --git a/config/reference.php b/config/reference.php index 7defcec..b89e2ae 100644 --- a/config/reference.php +++ b/config/reference.php @@ -1240,16 +1240,6 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param; * doctrine_migrations?: DoctrineMigrationsConfig, * security?: SecurityConfig, * twig?: TwigConfig, - * "when@dev"?: array{ - * imports?: ImportsConfig, - * parameters?: ParametersConfig, - * services?: ServicesConfig, - * framework?: FrameworkConfig, - * doctrine?: DoctrineConfig, - * doctrine_migrations?: DoctrineMigrationsConfig, - * security?: SecurityConfig, - * twig?: TwigConfig, - * }, * "when@prod"?: array{ * imports?: ImportsConfig, * parameters?: ParametersConfig, @@ -1352,7 +1342,6 @@ namespace Symfony\Component\Routing\Loader\Configurator; * deprecated?: array{package:string, version:string, message?:string}, * } * @psalm-type RoutesConfig = array{ - * "when@dev"?: array, * "when@prod"?: array, * "when@test"?: array, * ... diff --git a/public/js/sheets.js b/public/js/sheets.js index 6d5103f..c707c20 100644 --- a/public/js/sheets.js +++ b/public/js/sheets.js @@ -65,7 +65,7 @@ export function openData() { c.querySelector('.dm-cpw').onclick = () => { closeOv(); showChangePassword(); }; c.querySelector('.dm-lgout').onclick = () => { - api('POST', 'logout').then(() => { state.goals = []; closeOv(); render(); showLogin(); }); + api('POST', 'logout').finally(() => { state.goals = []; closeOv(); render(); showLogin(); }); }; const adminBtn = c.querySelector('.dm-admin');