diff --git a/ui-ngx/src/app/core/utils.ts b/ui-ngx/src/app/core/utils.ts index 2d13ed4133..2ab104f8f4 100644 --- a/ui-ngx/src/app/core/utils.ts +++ b/ui-ngx/src/app/core/utils.ts @@ -25,7 +25,6 @@ import { HttpErrorResponse } from '@angular/common/http'; import { TranslateService } from '@ngx-translate/core'; import { serverErrorCodesTranslations } from '@shared/models/constants'; import { SubscriptionEntityInfo } from '@core/api/widget-api.models'; -import Timeout = NodeJS.Timeout; const varsRegex = /\${([^}]*)}/g; diff --git a/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.html b/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.html index 2490d16310..16498100ae 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.html +++ b/ui-ngx/src/app/modules/home/components/dashboard/dashboard.component.html @@ -22,7 +22,7 @@ -
{{ isFullscreen ? 'fullscreen_exit' : 'fullscreen' }} -
+
@@ -39,7 +41,9 @@ export const initCustomJQueryEvents = () => { const touch = e.originalEvent.changedTouches[0]; const event = $.Event('tbcontextmenu', { clientX: touch.clientX, - clientY: touch.clientY + clientY: touch.clientY, + ctrlKey: false, + metaKey: false }); el.trigger(event, e); }, 500); @@ -56,7 +60,9 @@ export const initCustomJQueryEvents = () => { e.stopPropagation(); const event = $.Event('tbcontextmenu', { clientX: e.originalEvent.clientX, - clientY: e.originalEvent.clientY + clientY: e.originalEvent.clientY, + ctrlKey: e.originalEvent.ctrlKey, + metaKey: e.originalEvent.metaKey, }); el.trigger(event, e); });