@asd20/ui 3.2.561 → 3.2.563
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
|
@@ -214,15 +214,16 @@ export default {
|
|
|
214
214
|
},
|
|
215
215
|
},
|
|
216
216
|
mounted() {
|
|
217
|
-
const currentURL = new URL(window.location.href)
|
|
218
|
-
this.returnURL = currentURL.origin
|
|
219
217
|
this.goBack()
|
|
220
218
|
},
|
|
221
219
|
methods: {
|
|
222
220
|
goBack() {
|
|
223
221
|
if (typeof window === 'undefined') return
|
|
224
|
-
if (document.referrer
|
|
222
|
+
if (document.referrer.startsWith('http' || '/')) {
|
|
225
223
|
this.returnURL = document.referrer
|
|
224
|
+
} else {
|
|
225
|
+
const currentURL = new URL(window.location.href)
|
|
226
|
+
this.returnURL = currentURL.origin
|
|
226
227
|
}
|
|
227
228
|
// window.history.back()
|
|
228
229
|
// const url = window.location.href
|
|
@@ -96,7 +96,11 @@
|
|
|
96
96
|
/> -->
|
|
97
97
|
</div>
|
|
98
98
|
|
|
99
|
-
<div
|
|
99
|
+
<div v-if="cards.length < 1">
|
|
100
|
+
<br />
|
|
101
|
+
<p>There are currently no featues to view.</p>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="feed" v-if="cards.length > 0">
|
|
100
104
|
<div id="list-start" class="article-pagination">
|
|
101
105
|
<p class="result-count">
|
|
102
106
|
Viewing article {{ counter }}
|
|
@@ -126,8 +126,11 @@
|
|
|
126
126
|
</select>
|
|
127
127
|
</form> -->
|
|
128
128
|
</div>
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
<div v-if="cards.length < 1">
|
|
130
|
+
<br />
|
|
131
|
+
<p>There are currently no announcements to view.</p>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="feed" v-if="cards.length > 0">
|
|
131
134
|
<div id="list-start" class="article-pagination">
|
|
132
135
|
<p class="result-count">
|
|
133
136
|
Viewing article {{ counter }}
|