diff --git a/src/views/Index.vue b/src/views/Index.vue
index ca7e4fc7cbf83ef91638e4fdfed935cc7cf5c875..e199657757733fb9d0874e0c72e2a47fd9f04d8b 100644
--- a/src/views/Index.vue
+++ b/src/views/Index.vue
@@ -15,14 +15,14 @@
     <h4 id="les_projets" class="ui horizontal divider header">PROJETS</h4>
     <div class="flex">
       <router-link
-        v-if="user && user.can_create_project"
+        v-if="user && user.can_create_project && isOffline()!=true"
         :to="{ name: 'project_create', params: { action: 'create' } }"
         class="ui green basic button"
       >
         <i class="plus icon"></i> Créer un nouveau projet
       </router-link>
       <router-link
-        v-if="user && user.can_create_project"
+        v-if="user && user.can_create_project && isOffline()!=true"
         :to="{
           name: 'project_type_list',
         }"
@@ -124,6 +124,9 @@ export default {
   },
 
   methods: {
+    isOffline(){
+      return navigator.onLine==false;
+    },
     refreshId() {
       //* change path of thumbnail to update image
       return "?ver=" + Math.random();
diff --git a/src/views/project/Project_detail.vue b/src/views/project/Project_detail.vue
index 53ea79d7cdf3451551001787d285c68fe579e7a9..cd3ee96b93b04a86d2c3d27514a75881b1c5b7c7 100644
--- a/src/views/project/Project_detail.vue
+++ b/src/views/project/Project_detail.vue
@@ -575,8 +575,11 @@ export default {
           }));
         }
       });
-      Promise.all(promises).then(() => 
-          this.updateLocalStorage()
+      Promise.all(promises).then(() => {
+          this.updateLocalStorage();
+          window.location.reload();
+      }
+
       );
       
     },