Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
79e9337f94
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      resources/assets/js/components/Profile.vue

+ 2 - 0
resources/assets/js/components/Profile.vue

@@ -791,10 +791,12 @@ export default {
 					'id[]': this.profileId
 				}
 			}).then(res => {
+				if(res.data.length) {
 					this.relationship = res.data[0];
 					if(res.data[0].blocking == true) {
 						this.warning = true;
 					}
+				}
 			});
 		},