Skip to content

Commit

Permalink
fix: Remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 authored and JanCizmar committed Nov 8, 2021
1 parent 736e03c commit 8f8d4bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/vue/src/TolgeeMixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,7 @@ export const TolgeeMixin = defineComponent({
tolgeeContext.tolgee
.translate({ key: key, params: parameters, noWrap, defaultValue })
.then((value) => {
if (
value !== translation &&
this.$options._tolgee.subscribed_keys.includes(key)
) {
if (value !== translation) {
this.$forceUpdate();
}
});
Expand Down

0 comments on commit 8f8d4bf

Please sign in to comment.