소스 검색

refactor: made sure Recaptcha is no longer loaded after the register modal has closed

Kristian Vos 5 년 전
부모
커밋
3653b394cf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      frontend/store/modules/modals.js

+ 1 - 0
frontend/store/modules/modals.js

@@ -32,6 +32,7 @@ const getters = {};
 
 const actions = {
 	closeModal: ({ commit }, data) => {
+		if (data.modal === "register") window.location.reload();
 		commit("closeModal", data);
 	},
 	openModal: ({ commit }, data) => {