mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
ai: fix chat.json doesn't exist warning
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user