| 
						
						
							
								
							
						
						
					 | 
					@ -44,14 +44,14 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      <div class="w-full text-right"> | 
					 | 
					 | 
					      <div class="w-full text-right"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Hours to Add: | 
					 | 
					 | 
					        Hours to Add: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <input | 
					 | 
					 | 
					        <input | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					          class="border border rounded border-slate-400 w-24 text-right" | 
					 | 
					 | 
					          class="border rounded border-slate-400 w-24 text-right" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					          type="text" | 
					 | 
					 | 
					          type="text" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          placeholder="1" | 
					 | 
					 | 
					          placeholder="1" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          v-model="hourInput" | 
					 | 
					 | 
					          v-model="hourInput" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        /> | 
					 | 
					 | 
					        /> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <br /> | 
					 | 
					 | 
					        <br /> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <input | 
					 | 
					 | 
					        <input | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					          class="border border rounded border-slate-400 w-48" | 
					 | 
					 | 
					          class="border rounded border-slate-400 w-48" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					          type="text" | 
					 | 
					 | 
					          type="text" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          placeholder="Description" | 
					 | 
					 | 
					          placeholder="Description" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          v-model="hourDescriptionInput" | 
					 | 
					 | 
					          v-model="hourDescriptionInput" | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -303,6 +303,7 @@ import { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  CONTACT_URL_PREFIX, | 
					 | 
					 | 
					  CONTACT_URL_PREFIX, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  GiveServerRecord, | 
					 | 
					 | 
					  GiveServerRecord, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  GiveVerifiableCredential, | 
					 | 
					 | 
					  GiveVerifiableCredential, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					  isDid, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  RegisterVerifiableCredential, | 
					 | 
					 | 
					  RegisterVerifiableCredential, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  SERVICE_ID, | 
					 | 
					 | 
					  SERVICE_ID, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} from "@/libs/endorserServer"; | 
					 | 
					 | 
					} from "@/libs/endorserServer"; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -697,6 +698,18 @@ export default class ContactsView extends Vue { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      ); | 
					 | 
					 | 
					      ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      return; | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    if (!isDid(newContact.did)) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      this.$notify( | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					          group: "alert", | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					          type: "danger", | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					          title: "Invalid DID", | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					          text: "The DID is not valid. It must begin with 'did:'", | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        -1, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    newContact.seesMe = true; // since we will immediately set that on the server | 
					 | 
					 | 
					    newContact.seesMe = true; // since we will immediately set that on the server | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    return db.contacts | 
					 | 
					 | 
					    return db.contacts | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      .add(newContact) | 
					 | 
					 | 
					      .add(newContact) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |