Nilify itemServerRelativePath upon loading item in table view data source

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-03-05 19:24:16 +08:00
parent 8d3b101569
commit 000fe02bb0

View File

@ -45,6 +45,7 @@ class ShareTableViewDataSource: NSObject, NSTableViewDataSource, NSTableViewDele
}
func loadItem(url: URL) {
itemServerRelativePath = nil
itemURL = url
Task {
await reload()