From 7bcb4ab1d8efa9600aca8a81461d94c3a30edb1b Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Tue, 3 Jan 2023 08:57:48 +0100 Subject: [PATCH] enable automatic infer of return type --- .../dashboard-performance-profiling.element.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/core/dashboards/performance-profiling/dashboard-performance-profiling.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/core/dashboards/performance-profiling/dashboard-performance-profiling.element.ts index bd073b3fc3..dd861617e3 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/core/dashboards/performance-profiling/dashboard-performance-profiling.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/core/dashboards/performance-profiling/dashboard-performance-profiling.element.ts @@ -36,8 +36,7 @@ export class UmbDashboardPerformanceProfilingElement extends LitElement { } private async _getProfilingStatus() { - - const {data} = await tryExecuteAndNotify(this, ProfilingResource.getProfilingStatus()); + const { data } = await tryExecuteAndNotify(this, ProfilingResource.getProfilingStatus()); if (data) { this._profilingStatus = data.enabled;