mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-06 19:10:15 +00:00
Add a collection immediately and show a placeholder + busy indicator in localdocs settings.
This commit is contained in:
@@ -166,7 +166,7 @@ Item {
|
||||
id: removeButton
|
||||
anchors.centerIn: parent
|
||||
text: qsTr("Remove")
|
||||
visible: !item.removing
|
||||
visible: !item.removing && installed
|
||||
onClicked: {
|
||||
item.removing = true
|
||||
LocalDocs.removeFolder(collection, folder_path)
|
||||
@@ -175,7 +175,7 @@ Item {
|
||||
MyBusyIndicator {
|
||||
id: busyIndicator
|
||||
anchors.centerIn: parent
|
||||
visible: item.removing
|
||||
visible: item.removing || !installed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user