We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b0f554 commit 12e868bCopy full SHA for 12e868b
src/components/sidebar/SidebarHeader.vue
@@ -28,7 +28,7 @@ div(
28
base-server-logo(
29
@click="onIdentityLogoClick"
30
:jid="teamDomainJID"
31
- :name="teamName"
+ :name="teamNameOrDomain"
32
size="30px"
33
class="c-sidebar-header__identity-logo"
34
)
@@ -135,12 +135,16 @@ export default {
135
};
136
},
137
138
+ teamDomain(): string {
139
+ return this.jid.domain;
140
+ },
141
+
142
teamDomainJID(): JID {
- return new JID(this.jid.domain);
143
+ return new JID(this.teamDomain);
144
145
- teamName(): string {
- return Store.$account.getWorkspaceName();
146
+ teamNameOrDomain(): string {
147
+ return Store.$account.getWorkspaceName() || this.teamDomain;
148
}
149
150
0 commit comments