mirror of
https://github.com/open-webui/open-webui
synced 2025-05-31 11:00:49 +00:00
refac
This commit is contained in:
parent
38208866b9
commit
eabd9192f3
@ -12,7 +12,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
class="flex gap-2.5 text-left w-[var(--width)] dark:bg-gray-850 dark:text-white bg-white text-black border border-gray-50 dark:border-gray-800 rounded-xl px-3.5 py-3.5"
|
class="flex gap-2.5 text-left min-w-[var(--width)] w-full dark:bg-gray-850 dark:text-white bg-white text-black border border-gray-50 dark:border-gray-800 rounded-xl px-3.5 py-3.5"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
onClick();
|
onClick();
|
||||||
dispatch('closeToast');
|
dispatch('closeToast');
|
||||||
|
@ -538,17 +538,6 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleGoogleDrivePicker = async () => {
|
|
||||||
try {
|
|
||||||
const fileData = await createPicker();
|
|
||||||
if (fileData) {
|
|
||||||
await uploadGoogleDriveFile(fileData);
|
|
||||||
}
|
|
||||||
} catch (error) {
|
|
||||||
toast.error('Error accessing Google Drive: ' + error.message);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const uploadWeb = async (url) => {
|
const uploadWeb = async (url) => {
|
||||||
console.log(url);
|
console.log(url);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user