diff --git a/app/src/components/Breadcrumb/Breadcrumb.vue b/app/src/components/Breadcrumb/Breadcrumb.vue
index f96de909..299bdddb 100644
--- a/app/src/components/Breadcrumb/Breadcrumb.vue
+++ b/app/src/components/Breadcrumb/Breadcrumb.vue
@@ -1,30 +1,41 @@
@@ -34,12 +45,13 @@ const breadList = computed(() => {
:key="item.name"
>
- {{ item.name() }}
+ {{ item.translatedName() }}
- {{ item.name() }}
+ {{ item.translatedName() }}
+ {{ item.translatedName() }}
diff --git a/app/src/components/NodeSelector/NodeSelector.vue b/app/src/components/NodeSelector/NodeSelector.vue
index da55b3bf..9845ac2c 100644
--- a/app/src/components/NodeSelector/NodeSelector.vue
+++ b/app/src/components/NodeSelector/NodeSelector.vue
@@ -4,7 +4,7 @@ import type { Environment } from '@/api/environment'
import environment from '@/api/environment'
const props = defineProps<{
- target: number[]
+ target?: number[]
map?: Record
hiddenLocal?: boolean
}>()
@@ -37,7 +37,7 @@ const value = computed({
},
set(v) {
if (typeof props.map === 'object') {
- v.forEach(id => {
+ v?.forEach(id => {
if (id !== 0)
emit('update:map', { ...props.map, [id]: data_map.value[id].name })
})
diff --git a/app/src/components/PageHeader/PageHeader.vue b/app/src/components/PageHeader/PageHeader.vue
index 32c02874..5a57cfda 100644
--- a/app/src/components/PageHeader/PageHeader.vue
+++ b/app/src/components/PageHeader/PageHeader.vue
@@ -1,5 +1,4 @@
diff --git a/app/src/routes/index.ts b/app/src/routes/index.ts
index 54a58123..ea2f5b2a 100644
--- a/app/src/routes/index.ts
+++ b/app/src/routes/index.ts
@@ -62,6 +62,7 @@ export const routes: RouteRecordRaw[] = [
component: () => import('@/views/domain/DomainAdd.vue'),
meta: {
name: () => $gettext('Add Site'),
+ lastRouteName: 'Sites List',
},
}, {
path: ':name',
@@ -70,6 +71,7 @@ export const routes: RouteRecordRaw[] = [
meta: {
name: () => $gettext('Edit Site'),
hiddenInSidebar: true,
+ lastRouteName: 'Sites List',
},
}],
},
@@ -89,6 +91,7 @@ export const routes: RouteRecordRaw[] = [
meta: {
name: () => $gettext('Edit Stream'),
hiddenInSidebar: true,
+ lastRouteName: 'Manage Streams',
},
},
{
@@ -143,6 +146,7 @@ export const routes: RouteRecordRaw[] = [
meta: {
name: () => $gettext('Modify Certificate'),
hiddenInSidebar: true,
+ lastRouteName: 'Certificates List',
},
},
{
@@ -152,6 +156,7 @@ export const routes: RouteRecordRaw[] = [
meta: {
name: () => $gettext('Import Certificate'),
hiddenInSidebar: true,
+ lastRouteName: 'Certificates List',
},
},
{
diff --git a/app/src/routes/type.d.ts b/app/src/routes/type.d.ts
index 6ef6bb31..0bff43b4 100644
--- a/app/src/routes/type.d.ts
+++ b/app/src/routes/type.d.ts
@@ -16,5 +16,6 @@ declare module 'vue-router' {
noAuth?: boolean
status_code?: number
error?: () => string
+ lastRouteName?: string
}
}
diff --git a/app/src/views/stream/StreamList.vue b/app/src/views/stream/StreamList.vue
index 6af00e70..f751e7c1 100644
--- a/app/src/views/stream/StreamList.vue
+++ b/app/src/views/stream/StreamList.vue
@@ -181,6 +181,7 @@ function handleAddStream() {
diff --git a/app/src/views/user/userColumns.tsx b/app/src/views/user/userColumns.tsx
index d68fb892..67b6e1f5 100644
--- a/app/src/views/user/userColumns.tsx
+++ b/app/src/views/user/userColumns.tsx
@@ -27,6 +27,7 @@ const columns: Column[] = [{
},
},
hiddenInTable: true,
+ hiddenInDetail: true,
}, {
title: () => $gettext('2FA'),
dataIndex: 'enabled_2fa',