@designcrowd/fe-shared-lib 1.0.8-ml-82-21 → 1.0.8-ml-82-23

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": "@designcrowd/fe-shared-lib",
3
- "version": "1.0.8-ml-82-21",
3
+ "version": "1.0.8-ml-82-23",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -151,7 +151,7 @@
151
151
  >
152
152
  <p>
153
153
  {{ getSignUpText }}
154
- <a :href="getSignUpUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }">{{
154
+ <a :href="signUpUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }">{{
155
155
  signUpLabel
156
156
  }}</a>
157
157
  </p>
@@ -366,18 +366,6 @@ export default {
366
366
  submissionButtonLabelLowercase() {
367
367
  return this.submissionButtonLabel.toLowerCase();
368
368
  },
369
- getSignUpUrl() {
370
- if (typeof window === 'undefined') {
371
- return null;
372
- }
373
-
374
- const url = new URL(`https://${window.location.host}${this.signUpUrl}`);
375
-
376
- if (this.aUserName) {
377
- url.searchParams.append('initialUserName', this.aUserName);
378
- }
379
- return url;
380
- },
381
369
  getForgotPasswordUrl() {
382
370
  if (typeof window === 'undefined') {
383
371
  return null;
@@ -101,7 +101,7 @@
101
101
  class="tw-w-full tw-border-0 tw-border-t tw-border-solid tw-border-grayscale-400 tw-text-center tw-pt-6 tw-pb-8 tw-text-grayscale-600"
102
102
  >
103
103
  {{ alreadyHaveAnAccountLabel }}
104
- <a :href="getRedirectToSignInUrl" target="_blank" class="tw-text-info-500">{{ loginLabel }}</a>
104
+ <a :href="signInUrl" target="_blank" class="tw-text-info-500">{{ loginLabel }}</a>
105
105
  </p>
106
106
  </div>
107
107
  </div>
@@ -246,17 +246,6 @@ export default {
246
246
  };
247
247
  },
248
248
  computed: {
249
- getRedirectToSignInUrl() {
250
- if (typeof window === 'undefined') {
251
- return null;
252
- }
253
-
254
- const url = new URL(`https://${window.location.host}${this.signInUrl}`);
255
- if (this.aUserName) {
256
- url.searchParams.append('initialUserName', this.aUserName);
257
- }
258
- return url;
259
- },
260
249
  getRedirectToRecommendedActionUrl() {
261
250
  if (typeof window === 'undefined') {
262
251
  return null;