mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fixed LocaleSwitch issue with new Menu
This commit is contained in:
parent
d93c360cb7
commit
6e0380e5f6
@ -25,7 +25,7 @@
|
||||
slot="popover"
|
||||
slot-scope="{toggleMenu}"
|
||||
class="locale-menu-popover"
|
||||
:is-exact="isExact"
|
||||
:matcher="matcher"
|
||||
:routes="routes"
|
||||
>
|
||||
<ds-menu-item
|
||||
@ -79,7 +79,7 @@ export default {
|
||||
this.$i18n.set(locale)
|
||||
toggleMenu()
|
||||
},
|
||||
isExact(locale) {
|
||||
matcher(locale) {
|
||||
return locale === this.$i18n.locale()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user