LP1859728: Course edit page fm-editor should have the update mode
authorJane Sandberg <sandbej@linnbenton.edu>
Fri, 17 Jan 2020 04:08:48 +0000 (20:08 -0800)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 14 Sep 2020 22:17:04 +0000 (18:17 -0400)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-page.component.html

index 2061807..c3c9cfe 100644 (file)
@@ -29,6 +29,7 @@
         </div>
         <div class="col-lg-6 mt-3">
           <eg-fm-record-editor displayMode="inline"
+            mode="update"
             hiddenFieldsList="id,is_archived"
             idlClass="acmc"
             [preloadLinkedValues]="true"
@@ -59,4 +60,4 @@
 </ngb-tabset>
 
 <eg-string #archiveFailedString i18n-text text="Archival of Course failed or was not allowed"></eg-string>
-<eg-string #archiveSuccessString i18n-text text="Archival of Course succeeded"></eg-string>
\ No newline at end of file
+<eg-string #archiveSuccessString i18n-text text="Archival of Course succeeded"></eg-string>