From 9f4e3b50d8f61a759a3c55bd6ac40fbecde98972 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 26 Aug 2019 11:50:02 -0400 Subject: [PATCH] LP1834662 Minor lingering lint repair Unrelated to LP1834662, but there's no time like the present. Signed-off-by: Bill Erickson --- Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts index ecfe67adcc..34d6666c30 100644 --- a/Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts +++ b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts @@ -24,9 +24,9 @@ export class AccessKeyService { // Most recent assignment always wins. this.assignments.forEach(a => { if (a.key === assn.key) { - if (a.ctx === assn.ctx) { + if (a.ctx === assn.ctx) { // If key and context match, keep only the most recent. - return; + return; } else { // An assignment within a different context shadows // an existing assignment. Keep the assignment -- 2.43.2