Advertisement
Guest User

Untitled

a guest
May 25th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. this.isredundantTranslation = false;
  2.  
  3. this.value.forEach(translation => {
  4. if (translation.language.id === this.translationForm.value.language.id) {
  5. this.isredundantTranslation = true;
  6. this.confirmTranslation(translation);
  7. }
  8. });
  9.  
  10. if (this.isredundantTranslation === false) {
  11. this.pushTranslation();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement