angular flat marc edit
authorBill Erickson <berickxx@gmail.com>
Thu, 27 Jun 2019 21:42:35 +0000 (17:42 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 27 Jun 2019 21:42:35 +0000 (17:42 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts
Open-ILS/src/eg2/src/app/staff/share/marc-edit/flat-editor.component.ts
Open-ILS/src/eg2/src/app/staff/share/marc-edit/marc-edit.module.ts

index e2a91f4..b0addac 100644 (file)
@@ -66,7 +66,7 @@ export class MarcEditorComponent implements OnInit {
             src => this.sources.push({id: +src.id(), label: src.source()}),
             _ => {},
             () => {
-                this.sources = this.sources.sort((a, b) => 
+                this.sources = this.sources.sort((a, b) =>
                     a.label.toLowerCase() < b.label.toLowerCase() ? -1 : 1
                 );
             }
index 74b0729..b5e2f41 100644 (file)
@@ -31,11 +31,11 @@ export class MarcFlatEditorComponent implements OnInit {
 
     ngOnInit() {}
 
-    // When we have breaker text, limit the vertical expansion of the 
+    // When we have breaker text, limit the vertical expansion of the
     // text area to the size of the data plus a little padding.
     rowCount(): number {
         if (this.record && this.record.breakerText) {
-            return this.record.breakerText.split(/\n/).length + 2; 
+            return this.record.breakerText.split(/\n/).length + 2;
         }
         return 40;
     }
index 1992fcb..a18eb0b 100644 (file)
@@ -1,5 +1,5 @@
 import {NgModule} from '@angular/core';
-import {StaffCommonModule} from '@eg/staff/common.module';                     
+import {StaffCommonModule} from '@eg/staff/common.module';
 import {MarcEditorComponent} from './editor.component';
 import {MarcRichEditorComponent} from './rich-editor.component';
 import {MarcFlatEditorComponent} from './flat-editor.component';