From: Bill Erickson Date: Fri, 26 Jun 2020 17:57:50 +0000 (-0400) Subject: LP1864371 ngbTabset to ngbNav for marc editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=af7974253329eb12fc337ef277070076a1e6b4bf;p=contrib%2FConifer.git LP1864371 ngbTabset to ngbNav for marc editor Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html index 95baa0765e..21348105ce 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html @@ -79,22 +79,26 @@
- - - + +
diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts index 241379f382..cbcf5edc1d 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.ts @@ -13,7 +13,7 @@ import {ComboboxEntry, ComboboxComponent } from '@eg/share/combobox/combobox.component'; import {ConfirmDialogComponent} from '@eg/share/dialog/confirm.component'; import {MarcEditContext} from './editor-context'; -import {NgbTabset, NgbTabChangeEvent} from '@ng-bootstrap/ng-bootstrap'; +import {NgbNav, NgbNavChangeEvent} from '@ng-bootstrap/ng-bootstrap'; import {HoldingsService} from '@eg/staff/share/holdings/holdings.service'; export interface MarcSavedEvent { @@ -155,7 +155,7 @@ export class MarcEditorComponent implements OnInit { } // Remember the last used tab as the preferred tab. - tabChange(evt: NgbTabChangeEvent) { + tabChange(evt: NgbNavChangeEvent) { // Avoid undo persistence across tabs since that could result // in changes getting lost.