mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix cypress tests
This commit is contained in:
parent
8a214a4007
commit
a099c209a8
@ -139,8 +139,8 @@ export default {
|
||||
},
|
||||
returnLocaleName(locale) {
|
||||
if (
|
||||
this.contribution.language === locale.code ||
|
||||
(!this.contribution.language && this.$i18n.locale() === locale.code)
|
||||
(this.contribution && this.contribution.language === locale.code) ||
|
||||
(!this.contribution && this.$i18n.locale() === locale.code)
|
||||
) {
|
||||
return locale
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user