mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
ff
This commit is contained in:
@@ -248,10 +248,13 @@ select option.is-default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
border-radius: 0px !important;
|
|
||||||
margin-bottom: 0px !important;
|
margin-bottom: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chat-message {
|
||||||
|
padding: 10px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.user-message>.message-body {
|
.user-message>.message-body {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
|
|||||||
@@ -95,7 +95,7 @@
|
|||||||
<a class="is-pulled-right is-hidden px-1 py-0 has-text-weight-bold edit-button" href={'$'} on:click|preventDefault={() => edit()}><Fa icon={faPencil} /></a>
|
<a class="is-pulled-right is-hidden px-1 py-0 has-text-weight-bold edit-button" href={'$'} on:click|preventDefault={() => edit()}><Fa icon={faPencil} /></a>
|
||||||
<a class="is-pulled-right is-hidden px-1 py-0 has-text-weight-bold delete-button" href={'$'} on:click|preventDefault={() => delChat()}><Fa icon={faTrash} /></a>
|
<a class="is-pulled-right is-hidden px-1 py-0 has-text-weight-bold delete-button" href={'$'} on:click|preventDefault={() => delChat()}><Fa icon={faTrash} /></a>
|
||||||
{/if}
|
{/if}
|
||||||
<span class="chat-item-name">{chat.name || `New Chat`}</span>
|
<span class="chat-item-name">{chat.name || 'Error'}</span>
|
||||||
</a>
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
</li>
|
</li>
|
||||||
@@ -14,7 +14,7 @@ let hasModels = hasActiveModels()
|
|||||||
onMount(() => {
|
onMount(() => {
|
||||||
if (!$started) {
|
if (!$started) {
|
||||||
$started = true
|
$started = true
|
||||||
// console.log('started', apiKey, $lastChatId, getChat($lastChatId))
|
console.log('started', apiKey, $lastChatId, getChat($lastChatId))
|
||||||
if (hasActiveModels() && getChat($lastChatId)) {
|
if (hasActiveModels() && getChat($lastChatId)) {
|
||||||
const chatId = $lastChatId
|
const chatId = $lastChatId
|
||||||
$lastChatId = ''
|
$lastChatId = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user