mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
refac
This commit is contained in:
parent
076f9fd9c0
commit
b5d7e57d3c
@ -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!'));
|
||||||
|
Loading…
Reference in New Issue
Block a user