From d0ea6cfb92fcc82555965456dd2fb3737c754fd3 Mon Sep 17 00:00:00 2001 From: dzonidoo Date: Fri, 21 Jun 2024 11:12:42 +0200 Subject: [PATCH] fix lint --- .../authoring/directives/AuthoringEmbeddedDirective.ts | 2 +- .../authoring/directives/AuthoringTopbarDirective.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/apps/authoring/authoring/directives/AuthoringEmbeddedDirective.ts b/scripts/apps/authoring/authoring/directives/AuthoringEmbeddedDirective.ts index 50dfd80c1d..753ed3fc62 100644 --- a/scripts/apps/authoring/authoring/directives/AuthoringEmbeddedDirective.ts +++ b/scripts/apps/authoring/authoring/directives/AuthoringEmbeddedDirective.ts @@ -30,7 +30,7 @@ export function AuthoringEmbeddedDirective(superdeskFlags, api, notify, $filter) scope.fullWidth = superdeskFlags.flags.hideMonitoring; scope.setFullWidth = () => { scope.hideMonitoring(true, new Event('click')); - } + }; // This function is duplicated from the directive `WorkspaceSidenavDirective.ts`. scope.hideMonitoring = function(state, e) { diff --git a/scripts/apps/authoring/authoring/directives/AuthoringTopbarDirective.ts b/scripts/apps/authoring/authoring/directives/AuthoringTopbarDirective.ts index 0f98fa06b5..1fcde33007 100644 --- a/scripts/apps/authoring/authoring/directives/AuthoringTopbarDirective.ts +++ b/scripts/apps/authoring/authoring/directives/AuthoringTopbarDirective.ts @@ -160,8 +160,8 @@ export function AuthoringTopbarDirective( scope.setFullWidth = () => { scope.$applyAsync(() => { scope.hideMonitoring(true, new Event('click')); - }) - } + }); + }; // This function is duplicated from the directive `WorkspaceSidenavDirective.ts`. scope.hideMonitoring = function(state, e) {