mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Backwards compatible to old chats
This commit is contained in:
@@ -110,7 +110,7 @@
|
|||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<p class="subtitle is-5">
|
<p class="subtitle is-5">
|
||||||
{chat.name}
|
{chat.name || `Chat ${chat.id}`}
|
||||||
<a
|
<a
|
||||||
href={"#"}
|
href={"#"}
|
||||||
class="greyscale ml-2 is-hidden editbutton"
|
class="greyscale ml-2 is-hidden editbutton"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
class="panel-block {!apiKey ? 'is-disabled' : ''} {activeChatId === chat.id
|
class="panel-block {!apiKey ? 'is-disabled' : ''} {activeChatId === chat.id
|
||||||
? 'has-background-light'
|
? 'has-background-light'
|
||||||
: ''}"
|
: ''}"
|
||||||
on:click|preventDefault={() => (activeChatId = chat.id)}>{chat.name}</a
|
on:click|preventDefault={() => (activeChatId = chat.id)}>{chat.name || `Chat ${chat.id}`}</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Reference in New Issue
Block a user