Skip to content

Commit

Permalink
Add profile name to nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
f-osorio committed Jan 17, 2025
1 parent 94f8be8 commit 737ce1c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions src/components/panels/nav/Nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,14 @@
}
}
if (this.activeProfile.id){
menu.push(
{
text: "Profile: " + this.activeProfile.id,
class: "current-profile"
}
)
}
menu.push(
Expand Down Expand Up @@ -701,6 +705,10 @@
fill: v-bind("preferenceStore.returnValue('--c-edit-main-splitpane-nav-font-color')") !important;
}
.current-profile {
background: var(--bar-button-hover-bkg, #f1f3f4);
margin-left: 100px;
}
.login-menu{
position: absolute !important;
Expand Down
2 changes: 1 addition & 1 deletion src/views/Load.vue
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
// if (e.mandatory != 'true'){
// this.emptyComponents[rt].push(element)
// }
this.useProfile.addToAdHocMode(rt, element)
this.profileStore.addToAdHocMode(rt, element)
}
}
}
Expand Down

0 comments on commit 737ce1c

Please sign in to comment.