@asd20/ui 3.2.570 → 3.2.572
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
|
@@ -224,6 +224,12 @@ export default {
|
|
|
224
224
|
methods: {
|
|
225
225
|
goBack() {
|
|
226
226
|
if (typeof window === 'undefined') return
|
|
227
|
+
const currentLocation = window.location.href
|
|
228
|
+
if (currentLocation.includes('schools') || currentLocation.includes('8080')) {
|
|
229
|
+
const currentURL = new URL(window.location.href)
|
|
230
|
+
this.returnURL = currentURL.origin
|
|
231
|
+
return
|
|
232
|
+
}
|
|
227
233
|
if (document.referrer.startsWith('http' || '/')) {
|
|
228
234
|
this.returnURL = document.referrer
|
|
229
235
|
} else {
|