ensure language is set to provide translation
This commit is contained in:
parent
0b93ed7307
commit
10fa412173
|
@ -64,6 +64,7 @@ export class StatusTranslateComponent implements OnInit, OnDestroy {
|
||||||
.then(canTranslate => {
|
.then(canTranslate => {
|
||||||
if (canTranslate
|
if (canTranslate
|
||||||
&& !this.status.isRemote
|
&& !this.status.isRemote
|
||||||
|
&& this.status.status.language
|
||||||
&& this.configuredLanguages.length > 0
|
&& this.configuredLanguages.length > 0
|
||||||
&& this.configuredLanguages.findIndex(x => x.iso639 === this.status.status.language) === -1) {
|
&& this.configuredLanguages.findIndex(x => x.iso639 === this.status.status.language) === -1) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue