diff --git a/frontend/src/components/drawers/navigation/MainNav.vue b/frontend/src/components/drawers/navigation/MainNav.vue
index b83fe6b816..06dd054086 100644
--- a/frontend/src/components/drawers/navigation/MainNav.vue
+++ b/frontend/src/components/drawers/navigation/MainNav.vue
@@ -93,7 +93,14 @@ export default {
return { ...defaultBackToRoute, ...this.nearestMetaMenu.backTo }
case isNearestMenuAnObject && hasBackToProp && typeof this.nearestMetaMenu.backTo === 'function':
- return { ...defaultBackToRoute, ...this.nearestMetaMenu.backTo({ team_slug: this.team.slug }) }
+ return {
+ ...defaultBackToRoute,
+ ...this.nearestMetaMenu.backTo({
+ params: this.$route.params,
+ query: this.$route.query,
+ team: this.team
+ })
+ }
case typeof this.nearestMetaMenu === 'string':
default:
diff --git a/frontend/src/pages/application/DeviceGroup/index.vue b/frontend/src/pages/application/DeviceGroup/index.vue
index 2f6f94a689..629ed5562e 100644
--- a/frontend/src/pages/application/DeviceGroup/index.vue
+++ b/frontend/src/pages/application/DeviceGroup/index.vue
@@ -2,7 +2,7 @@
-