mirror of
https://github.com/open-webui/computer.git
synced 2026-11-23 14:10:45 -05:00
refac
This commit is contained in:
1 parent
1c3752ed0f
commit
cf704873d9
1 file changed
+2
-4
@@ -335,10 +335,8 @@
|
||||
class="text-[11px] text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors duration-75"
|
||||
onclick={() => {
|
||||
const ws = detail?.workspace;
|
||||
if (ws) {
|
||||
goto(`/?workspace=${encodeURIComponent(ws)}`);
|
||||
}
|
||||
setTimeout(() => openChatTab(run.chat_id!), 300);
|
||||
const wsParam = ws ? `workspace=${encodeURIComponent(ws)}&` : '';
|
||||
goto(`/?${wsParam}chatId=${encodeURIComponent(run.chat_id!)}`);
|
||||
}}
|
||||
>
|
||||
{$t('automations.viewChat')}
|
||||
|
||||
Reference in new issue
Block a user