Просмотр исходного кода

fix: clicking on anchor would reload modal and create a new modal when removing account, step 1

Kristian Vos 3 лет назад
Родитель
Сommit
e3dad8377d
1 измененных файлов с 4 добавлено и 8 удалено
  1. 4 8
      frontend/src/components/modals/RemoveAccount.vue

+ 4 - 8
frontend/src/components/modals/RemoveAccount.vue

@@ -54,11 +54,7 @@
 				</p>
 
 				<p class="content-box-optional-helper">
-					<router-link
-						id="forgot-password"
-						href="#"
-						to="/reset_password"
-					>
+					<router-link id="forgot-password" to="/reset_password">
 						Forgot password?
 					</router-link>
 				</p>
@@ -94,12 +90,12 @@
 							</a>
 						</div>
 						<p class="control">
-							<a
+							<button
 								class="button is-info"
-								href="#"
 								@click="confirmPasswordMatch()"
-								>Check</a
 							>
+								Check
+							</button>
 						</p>
 					</div>
 				</div>