style: lint + format
This commit is contained in:
		
							parent
							
								
									ddfdb94935
								
							
						
					
					
						commit
						2b2e9870dc
					
				
					 3 changed files with 10 additions and 8 deletions
				
			
		|  | @ -91,7 +91,10 @@ | ||||||
|             <!--                {{ t("discussions") }}--> |             <!--                {{ t("discussions") }}--> | ||||||
|             <!--            </v-btn>--> |             <!--            </v-btn>--> | ||||||
|         </v-toolbar-items> |         </v-toolbar-items> | ||||||
|         <v-menu open-on-hover open-on-click> |         <v-menu | ||||||
|  |             open-on-hover | ||||||
|  |             open-on-click | ||||||
|  |         > | ||||||
|             <template v-slot:activator="{ props }"> |             <template v-slot:activator="{ props }"> | ||||||
|                 <v-btn |                 <v-btn | ||||||
|                     v-bind="props" |                     v-bind="props" | ||||||
|  |  | ||||||
|  | @ -84,7 +84,10 @@ | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|             <div class="container_right"> |             <div class="container_right"> | ||||||
|                 <v-menu open-on-hover open-on-click> |                 <v-menu | ||||||
|  |                     open-on-hover | ||||||
|  |                     open-on-click | ||||||
|  |                 > | ||||||
|                     <template v-slot:activator="{ props }"> |                     <template v-slot:activator="{ props }"> | ||||||
|                         <v-btn |                         <v-btn | ||||||
|                             v-bind="props" |                             v-bind="props" | ||||||
|  |  | ||||||
|  | @ -8,9 +8,9 @@ | ||||||
| 
 | 
 | ||||||
|     watch( |     watch( | ||||||
|         () => auth.isLoggedIn.value, |         () => auth.isLoggedIn.value, | ||||||
|         (newVal) => { |         async (newVal) => { | ||||||
|             if (newVal) { |             if (newVal) { | ||||||
|                 router.push("/user"); |                 await router.push("/user"); | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         { immediate: true }, |         { immediate: true }, | ||||||
|  | @ -23,10 +23,6 @@ | ||||||
|     async function loginAsTeacher(): Promise<void> { |     async function loginAsTeacher(): Promise<void> { | ||||||
|         await auth.loginAs("teacher"); |         await auth.loginAs("teacher"); | ||||||
|     } |     } | ||||||
| 
 |  | ||||||
|     async function performLogout(): Promise<void> { |  | ||||||
|         await auth.logout(); |  | ||||||
|     } |  | ||||||
| </script> | </script> | ||||||
| 
 | 
 | ||||||
| <template> | <template> | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 laurejablonski
						laurejablonski