File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -394,24 +394,10 @@ export class MapiObjectStorage implements IObjectStorage {
394394 const isLocalized = localizedContentTypes . includes ( contentType ) ;
395395 const localeSearchPrefix = isLocalized ? `${ selectedLocale } /` : "" ;
396396
397- if ( key === "popups" ) {
398- const pageOfPopups : Page < PopupInstanceModel > = {
397+ if ( key === "popups" || key === "locales" ) {
398+ return {
399399 value : [ ]
400400 } ;
401-
402- return < any > pageOfPopups ;
403- }
404-
405- if ( key === "locales" ) {
406- const pageOfLocales : Page < LocaleModel > = {
407- value : [ {
408- key : `contentTypes/locales/contentItem/en_us` ,
409- code : "en-us" ,
410- displayName : "English (US)"
411- } ]
412- } ;
413-
414- return < any > pageOfLocales ;
415401 }
416402
417403 try {
You can’t perform that action at this time.
0 commit comments