forked from XiaoMo/ChatGPT-Next-Web
feat: close #2954 chat summary should be copyable
This commit is contained in:
parent
47154773f2
commit
8c0ba1aee2
@ -143,6 +143,7 @@ export function SessionConfigModel(props: { onClose: () => void }) {
|
||||
extraListItems={
|
||||
session.mask.modelConfig.sendMemory ? (
|
||||
<ListItem
|
||||
className="copyable"
|
||||
title={`${Locale.Memory.Title} (${session.lastSummarizeIndex} of ${session.messages.length})`}
|
||||
subTitle={session.memoryPrompt || Locale.Memory.EmptyContent}
|
||||
></ListItem>
|
||||
|
@ -357,3 +357,7 @@ pre {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.copyable {
|
||||
user-select: text;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user