Skip to content

Commit

Permalink
💄 Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradFilipovic committed Oct 10, 2022
1 parent b9b75e6 commit bbf563f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/design-system/src/components/N8nMenu/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ export default Vue.extend({
mounted() {
if (this.mode === 'router') {
const found = this.items.find(item => {
return Array.isArray(item.activateOnRouteNames) && (item.activateOnRouteNames ).includes(this.$route.name || '') ||
Array.isArray(item.activateOnRoutePaths) && (item.activateOnRoutePaths).includes(this.$route.path);
return Array.isArray(item.activateOnRouteNames) && item.activateOnRouteNames.includes(this.$route.name || '') ||
Array.isArray(item.activateOnRoutePaths) && item.activateOnRoutePaths.includes(this.$route.path);
});
this.activeTab = found ? found.id : '';
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export default Vue.extend({
.label {
overflow: hidden;
text-overflow: ellipsis;
user-select: none;
}
.item + .item {
Expand Down

0 comments on commit bbf563f

Please sign in to comment.