File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
src/angular-app/languageforge/lexicon/editor Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1111 < span class ="d-none d-md-inline-block "> List</ span > </ a >
1212 </ div >
1313 < div class ="float-right " data-ng-show ="$ctrl.isAtEditorEntry() ">
14- < div class ="btn-group " ng-form ="validateGoto " ng-hide ="$ctrl.entryListModifiers.filterActive() ">
14+ < div class ="btn-group hide-on-mobile " ng-form ="validateGoto " ng-hide ="$ctrl.entryListModifiers.filterActive() ">
1515 < button class ="btn btn-std " data-ng-click ="$ctrl.skipToEntry(-1) " ng-disabled ="!$ctrl.canSkipToEntry(-1) ">
1616 < span class ="fa fa-arrow-left "> </ span > < span class ="d-none d-lg-inline-block "> Previous</ span >
1717 </ button >
4343 </ div >
4444 </ div >
4545 </ div >
46- < div class ="row dc-rendered- on-desktop " data-ng-if ="$ctrl.isAtEditorEntry() ">
46+ < div class ="row hide- on-mobile " data-ng-if ="$ctrl.isAtEditorEntry() ">
4747 < div class ="col ">
4848 < div class ="word-definition-title ">
4949 < dc-rendered config ="$ctrl.lecConfig.entry " global-config ="$ctrl.lecConfig "
Original file line number Diff line number Diff line change @@ -1157,6 +1157,9 @@ export class LexiconEditorController implements angular.IController {
11571157 }
11581158
11591159 private prepCustomFieldsForUpdate ( data : any ) : any {
1160+ if ( Array . isArray ( data ) ) {
1161+ return data . map ( item => this . prepCustomFieldsForUpdate ( item ) ) ;
1162+ }
11601163 data . customFields = { } ;
11611164 for ( const fieldName in data ) {
11621165 if ( data . hasOwnProperty ( fieldName ) ) {
Original file line number Diff line number Diff line change 2626 }
2727}
2828@include media-breakpoint-down (sm) {
29- .dc-rendered- on-desktop {
29+ .hide- on-mobile {
3030 display : none ;
3131 }
3232}
You can’t perform that action at this time.
0 commit comments