ensure language is set to provide translation

This commit is contained in:
Nicolas Constant 2023-08-12 16:50:35 -04:00
parent 0b93ed7307
commit 10fa412173
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ export class StatusTranslateComponent implements OnInit, OnDestroy {
.then(canTranslate => {
if (canTranslate
&& !this.status.isRemote
&& this.status.status.language
&& this.configuredLanguages.length > 0
&& this.configuredLanguages.findIndex(x => x.iso639 === this.status.status.language) === -1) {