From ebc481e62a56168bdbcb31df0f97eddf262d346a Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Thu, 23 Jun 2022 15:22:01 +1000
Subject: Adjust component event names

---
 src/components/HelpModal.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/HelpModal.vue')

diff --git a/src/components/HelpModal.vue b/src/components/HelpModal.vue
index 298711b..009f694 100644
--- a/src/components/HelpModal.vue
+++ b/src/components/HelpModal.vue
@@ -11,16 +11,16 @@ export default defineComponent({
 	methods: {
 		onCloseClick(evt: Event){
 			if (evt.target == this.$el || (this.$refs.closeIcon as typeof CloseIcon).$el.contains(evt.target)){
-				this.$emit('help-modal-close');
+				this.$emit('close');
 			}
 		},
 		onStartTutorial(){
 			this.$emit('start-tutorial');
-			this.$emit('help-modal-close');
+			this.$emit('close');
 		},
 	},
 	components: {CloseIcon, RButton, },
-	emits: ['help-modal-close', 'start-tutorial', ],
+	emits: ['close', 'start-tutorial', ],
 });
 </script>
 
-- 
cgit v1.2.3

