@asd20/ui 3.2.571 → 3.2.573

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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.571",
8
+ "version": "3.2.573",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -25,6 +25,7 @@
25
25
  class="back"
26
26
  v-if="!breadcrumbLinks.length"
27
27
  :link="returnURL"
28
+ target="_self"
28
29
  label="Back"
29
30
  icon="chevron"
30
31
  :iconAngle="-90"
@@ -224,6 +225,12 @@ export default {
224
225
  methods: {
225
226
  goBack() {
226
227
  if (typeof window === 'undefined') return
228
+ const currentLocation = window.location.href
229
+ if (currentLocation.includes('schools') || currentLocation.includes('8080')) {
230
+ const currentURL = new URL(window.location.href)
231
+ this.returnURL = currentURL.origin
232
+ return
233
+ }
227
234
  if (document.referrer.startsWith('http' || '/')) {
228
235
  this.returnURL = document.referrer
229
236
  } else {