diff --git a/ui/src/components/header/ProjectMenu.vue b/ui/src/components/header/ProjectMenu.vue
index 5fa92c8d957..6e48b8f2009 100644
--- a/ui/src/components/header/ProjectMenu.vue
+++ b/ui/src/components/header/ProjectMenu.vue
@@ -134,7 +134,7 @@ export default {
}
&-icon {
- font-size: 20px;
+ font-size: 18px;
line-height: 1;
padding-top: 5px;
padding-right: 5px;
diff --git a/ui/src/components/widgets/Breadcrumb.vue b/ui/src/components/widgets/Breadcrumb.vue
index 537e613df40..4fe2e6bd00d 100644
--- a/ui/src/components/widgets/Breadcrumb.vue
+++ b/ui/src/components/widgets/Breadcrumb.vue
@@ -22,7 +22,7 @@
v-if="item && item.name"
:to="{ path: item.path === '' ? '/' : item.path }"
>
-
+
{{ $t(item.meta.title) }}
@@ -63,6 +63,10 @@ export default {
this.$route.matched.forEach((item) => {
this.breadList.push(item)
})
+ },
+ resetToMainView () {
+ this.$store.dispatch('SetProject', {})
+ this.$store.dispatch('ToggleTheme', 'light')
}
}
}