summaryrefslogtreecommitdiff
path: root/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx')
-rw-r--r--lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx b/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
index c6e81f32..6da704cd 100644
--- a/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
+++ b/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
@@ -297,7 +297,9 @@ export default function VendorResponseEditor({
await uploadPromise
toast.success(isSubmit ? "견적서가 제출되었습니다." : "견적서가 저장되었습니다.")
- router.push('/partners/rfq-last')
+ if (isSubmit) {
+ router.push('/partners/rfq-last')
+ }
router.refresh()
} catch (error) {
console.error('Submit error:', error) // 더 상세한 에러 로깅