File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ export default class SPTermStorePickerService {
297
297
return null ;
298
298
}
299
299
}
300
- else {
300
+ else {
301
301
return null ;
302
302
}
303
303
} catch ( error ) {
@@ -424,10 +424,10 @@ export default class SPTermStorePickerService {
424
424
resolve ( null ) ;
425
425
return ;
426
426
}
427
-
427
+ let loc = LocalesHelper . getLocaleId ( this . context . pageContext . cultureInfo . currentUICultureName ) ;
428
428
let data = {
429
429
start : searchText ,
430
- lcid : LocalesHelper . getLocaleId ( this . context . pageContext . cultureInfo . currentUICultureName ) ?? this . context . pageContext . web . language ,
430
+ lcid : loc !== 0 ? loc : this . context . pageContext . web . language ,
431
431
sspList : this . cleanGuid ( termStore [ 0 ] . Id ) ,
432
432
termSetList : TermSetId ,
433
433
anchorId : this . props . anchorId ? this . props . anchorId : EmptyGuid ,
You can’t perform that action at this time.
0 commit comments