mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-19 04:08:48 +00:00
ai: fix chat.json doesn't exist warning
This commit is contained in:
parent
f290192de4
commit
d7382db669
1 changed files with 2 additions and 2 deletions
|
|
@ -887,8 +887,8 @@ Singleton {
|
|||
|
||||
FileView {
|
||||
id: chatSaveFile
|
||||
property string chatName: "chat"
|
||||
path: `${Directories.aiChats}/${chatName}.json`
|
||||
property string chatName: ""
|
||||
path: chatName.length > 0 ? `${Directories.aiChats}/${chatName}.json` : ""
|
||||
blockLoading: true // Prevent race conditions
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue