You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch between the menu entries. The Title is switching but the content of the iFrame can not be changed because the location id is not changing (have a look at the browser console if using my example
`if (sw.location.is(sw.location.MAIN_HIDDEN)) {
sw.ui.menu.addMenuItem({
label: this.$i18n.t('Title 1'),
locationId: 'location-title-1',
displaySearchBar: false,
parent: 'sw-catalogue',
})
Package
@meteor/admin-sdk
Package version
5.5.1
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-jdkk7of5?file=src%2FApp.vue
Steps to reproduce
create an app with two menu entries
Switch between the menu entries. The Title is switching but the content of the iFrame can not be changed because the location id is not changing (have a look at the browser console if using my example
`if (sw.location.is(sw.location.MAIN_HIDDEN)) {
sw.ui.menu.addMenuItem({
label: this.$i18n.t('Title 1'),
locationId: 'location-title-1',
displaySearchBar: false,
parent: 'sw-catalogue',
})
sw.ui.menu.addMenuItem({
label: this.$i18n.t('Title 2'),
locationId: 'location-title-2',
displaySearchBar: false,
parent: 'sw-catalogue',
})
}
else {
console.log(sw.location.get())
}`
Actual behavior
Title name is switching but iFrame content not
Expected behavior
Title name and iFrame content should switch
System Info
Any additional comments?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: