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/TileInfoModal.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/components/TileInfoModal.vue b/src/components/TileInfoModal.vue
index 7e2f81d..83155ba 100644
--- a/src/components/TileInfoModal.vue
+++ b/src/components/TileInfoModal.vue
@@ -59,7 +59,7 @@ export default defineComponent({
 	methods: {
 		onCloseClick(evt: Event){
 			if (evt.target == this.$el || (this.$refs.closeIcon as typeof CloseIcon).$el.contains(evt.target)){
-				this.$emit('info-modal-close');
+				this.$emit('close');
 			}
 		},
 		getImgStyles(imgName: string | null){
@@ -128,7 +128,7 @@ export default defineComponent({
 			});
 	},
 	components: {CloseIcon, Tile, },
-	emits: ['info-modal-close', ],
+	emits: ['close', ],
 });
 </script>
 
-- 
cgit v1.2.3

