Skip to content

Commit

Permalink
Merge pull request #441 from beyond-sw-camp/refactor/#440
Browse files Browse the repository at this point in the history
refactor: λ””μžμΈ 이슈 μˆ˜μ •
  • Loading branch information
dispear authored Jan 3, 2025
2 parents 31d2940 + 3819ec3 commit 7ecc5d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SCM/frontend/src/components/common/Chatbot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const fetchChatbot = async () => {
// μ§ˆλ¬ΈμΈμ§€ 닡변인지 체크
const canQuestion = computed(() => {
// items λ°°μ—΄μ˜ λ§ˆμ§€λ§‰ role이 'model'인지 확인
return items.value.length > 0 && items.value[items.value.length - 1].role === 'model';
return items.value.length === 0 || (items.value.length > 0 && items.value[items.value.length - 1].role === 'model');
});
// μ§ˆλ¬Έμ€ λ‹΅λ³€μ΄ν›„μ—λ§Œ λ‹€μ‹œ ν•  수 있음
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const itemDelete = async (seq) => {
}
const shippingSlipRegister = async (seq) => {
const result = await sConfirm("μΆœν•˜μ „ν‘œλ₯Ό λ“±λ‘ν•˜μ‹œκ² μŠ΅λ‹ˆκΉŒ?");
const result = confirm("μΆœν•˜μ „ν‘œλ₯Ό λ“±λ‘ν•˜μ‹œκ² μŠ΅λ‹ˆκΉŒ?");
if (result) {
emit('shippingSlipRegisterEvent', seq);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import SalesOrderSituation from '@/components/salesOrder/SalesOrderSituation.vue
</script>

<template>
<h4 class="title">μ˜μ—…κ΄€λ¦¬ > μ£Όλ¬Έμ„œ ν˜„ν™©ν™©</h4>
<h4 class="title">μ˜μ—…κ΄€λ¦¬ > μ£Όλ¬Έμ„œ ν˜„ν™©</h4>
<SalesOrderSituation />
</template>

Expand Down

0 comments on commit 7ecc5d5

Please sign in to comment.