diff --git a/src/views/Project/FeaturesListAndMap.vue b/src/views/Project/FeaturesListAndMap.vue index 1846d6f3357421bb4307834e762e3a0bdb30795e..1f256e15d1bb3e8ff30aaaaa53b7ad313d1ef3ce 100644 --- a/src/views/Project/FeaturesListAndMap.vue +++ b/src/views/Project/FeaturesListAndMap.vue @@ -154,6 +154,9 @@ export default { }, computed: { + ...mapState([ + 'isOnline' + ]), ...mapState('projects', [ 'project', ]), @@ -384,6 +387,7 @@ export default { }, fetchPagedFeatures(newUrl) { + if (!this.isOnline) return; let url = `${this.API_BASE_URL}projects/${this.projectSlug}/feature-paginated/?limit=${this.pagination.pagesize}&offset=${this.pagination.start}`; //* if receiving next & previous url (// todo : might be not used anymore, to check) if (newUrl && typeof newUrl === 'string') {