File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -484,8 +484,9 @@ export default class I18nPlugin extends AdminForthPlugin {
484484 if ( ! resourceConfig . options . pageInjections . list . threeDotsDropdownItems ) {
485485 resourceConfig . options . pageInjections . list . threeDotsDropdownItems = [ ] ;
486486 }
487-
488- ( resourceConfig . options . pageInjections . list . threeDotsDropdownItems as AdminForthComponentDeclaration [ ] ) . push ( pageInjection ) ;
487+ if ( this . options . completeAdapter ) {
488+ ( resourceConfig . options . pageInjections . list . threeDotsDropdownItems as AdminForthComponentDeclaration [ ] ) . push ( pageInjection ) ;
489+ }
489490
490491 // if there is menu item with resourceId, add .badge function showing number of untranslated strings
491492 const addBadgeCountToMenuItem = ( menuItem : AdminForthConfigMenuItem ) => {
You can’t perform that action at this time.
0 commit comments