LP1830391 Hatch core mod import/export repairs user/berick/lp1830391-hatch-omnibus-java-workstations-files-2
authorBill Erickson <berickxx@gmail.com>
Mon, 5 Aug 2019 14:44:55 +0000 (10:44 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 5 Aug 2019 14:57:46 +0000 (10:57 -0400)
No need to import/export HatchService from the base common module since
it's now a core service which is exported automatically to root.

Includes minor lint repair.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/common.module.ts
Open-ILS/src/eg2/src/app/share/accesskey/accesskey.service.ts

index ad62290..527b698 100644 (file)
@@ -14,7 +14,6 @@ They do not have to be added to the providers list.
 */
 
 // consider moving these to core...
-import {HatchService} from '@eg/share/print/hatch.service';
 import {HtmlToTxtService} from '@eg/share/util/htmltotxt.service';
 import {PrintService} from '@eg/share/print/print.service';
 
@@ -71,7 +70,6 @@ export class EgCommonModule {
             ngModule: EgCommonModule,
             providers: [
                 HtmlToTxtService,
-                HatchService,
                 PrintService
             ]
         };
index ecfe67a..34d6666 100644 (file)
@@ -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