This commit is contained in:
Timothy J. Baek 2024-10-23 20:19:42 -07:00
parent 076f9fd9c0
commit b5d7e57d3c

View File

@ -73,7 +73,6 @@
const saveHandler = () => { const saveHandler = () => {
console.log('saveHandler'); console.log('saveHandler');
// if (!selectedReason) { // if (!selectedReason) {
// toast.error($i18n.t('Please select a reason')); // toast.error($i18n.t('Please select a reason'));
// return; // return;
@ -82,7 +81,7 @@
dispatch('save', { dispatch('save', {
reason: selectedReason, reason: selectedReason,
comment: comment, comment: comment,
tags: tags tags: tags.map((tag) => tag.name)
}); });
toast.success($i18n.t('Thanks for your feedback!')); toast.success($i18n.t('Thanks for your feedback!'));