mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 13:07:25 +00:00
refac
This commit is contained in:
parent
076f9fd9c0
commit
b5d7e57d3c
@ -73,7 +73,6 @@
|
||||
|
||||
const saveHandler = () => {
|
||||
console.log('saveHandler');
|
||||
|
||||
// if (!selectedReason) {
|
||||
// toast.error($i18n.t('Please select a reason'));
|
||||
// return;
|
||||
@ -82,7 +81,7 @@
|
||||
dispatch('save', {
|
||||
reason: selectedReason,
|
||||
comment: comment,
|
||||
tags: tags
|
||||
tags: tags.map((tag) => tag.name)
|
||||
});
|
||||
|
||||
toast.success($i18n.t('Thanks for your feedback!'));
|
||||
|
Loading…
Reference in New Issue
Block a user