fix: Tidy up i18nextTranslationApi change handling

This change removes some extra logic in i18NextTranslationApi's change
handling to ensure it always updates subscribers when a language change
is handled.  The relevant test was updated so it doesn't expect
snapshots that aren't loaded.  Fixes #20381

Signed-off-by: Stan Lewis <gashcrumb@gmail.com>
This commit is contained in:
Stan Lewis
2023-10-12 08:08:45 -04:00
parent 546754dc6a
commit f1b349cfba
3 changed files with 9 additions and 10 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': patch
---
Fixed a bug in i18nextTranslationApi where in some cases it wouldn't notify subscribers of language changes