@appscode/design-system 2.2.28 → 2.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.2.28",
3
+ "version": "2.2.30",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -71,7 +71,6 @@ const onOrganizationClick = (orgName: string) => {
71
71
  handleIsActiveChange("");
72
72
  };
73
73
 
74
- const locationOrigin = window.location.origin;
75
74
  const isDocsUi = window.location.pathname.startsWith("/docs/");
76
75
 
77
76
  watch(dropDownStatus, (n) => {
@@ -117,7 +116,7 @@ function handleIsActiveChange(isActive: string) {
117
116
  <navbar-item-content class="navbar-dropdown-wrapper">
118
117
  <div v-if="user.username" class="user-profile-wrapper">
119
118
  <a
120
- :href="`${serverDomain}/${user.username}`"
119
+ :href="`${serverDomain}/id/${user.username}`"
121
120
  :title="user.username.toUpperCase()"
122
121
  data-testid="user-profile-link"
123
122
  class="line-break-anywhere is-ellipsis-1 has-text-weight-medium"
@@ -136,18 +135,18 @@ function handleIsActiveChange(isActive: string) {
136
135
  </div>
137
136
  </a>
138
137
  <transition-group name="list" tag="ul" class="list-items ac-scrollbar py-2">
139
- <li key="settings" v-if="serverDomain !== locationOrigin || isDocsUi">
138
+ <li key="settings" v-if="!isPlatformDomain || isDocsUi">
140
139
  <a
141
140
  v-if="user.isPersonalAccount"
142
141
  data-testid="user-settings-link"
143
- :href="`${serverDomain}/user/settings/`"
142
+ :href="`${serverDomain}/id/user/settings/`"
144
143
  >
145
144
  <span class="icon">
146
145
  <HeroiconsCog6Tooth />
147
146
  </span>
148
147
  <span>Settings</span>
149
148
  </a>
150
- <a v-else data-testid="user-settings-link" :href="`${serverDomain}/${user.username}/settings`">
149
+ <a v-else data-testid="user-settings-link" :href="`${serverDomain}/id/${user.username}/settings`">
151
150
  <span class="icon"> <HeroiconsCog6Tooth /> </span><span>Settings</span>
152
151
  </a>
153
152
  </li>