Skip to content

Commit

Permalink
fix: 프로필 작성하지 않은 사람도 우선 신청 요청은 되도록 수정 (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocahs9 authored Nov 22, 2024
1 parent 5694a6e commit 34eb6ab
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/components/page/meetingDetail/MeetingController/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,19 +142,20 @@ const MeetingController = ({
};

const handleApplicationModal = () => {
if (!me?.hasActivities) {
handleProfileModalOpen();
return;
}
if (!isApplied) {
ampli.clickRegisterGroup({ user_id: Number(me.orgId) });
ampli.clickRegisterGroup({ user_id: Number(me?.orgId) });
//handleDefaultModalOpen();
//setModalTitle('모임 신청하기');
handleApplicationButton('No resolution');

return;
}

if (!me?.hasActivities) {
handleProfileModalOpen();
return;
}

const dialogOption: DialogOptionType = {
title: '신청을 취소하시겠습니까?',
description: '',
Expand Down

0 comments on commit 34eb6ab

Please sign in to comment.