Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.

Commit 4184ed6

Browse files
committed
🐛 Fixed Explore page not working when signed out
1 parent 1a9455e commit 4184ed6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/views/ExplorePage.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ export default {
196196
},
197197
async refreshData(event) {
198198
this.loaded = false;
199-
this.$refs.feed.loadFeed();
199+
if (window.localStorage.getItem('session')) {
200+
this.$refs.feed.loadFeed();
201+
}
200202
Http.request({
201203
method: 'GET',
202204
url: 'https://api.scratch.mit.edu/proxy/featured'

0 commit comments

Comments
 (0)