mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Make item's server relative path public in sharetableviewdatasource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
e25bebcd69
commit
8d3b101569
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,8 @@ class ShareTableViewDataSource: NSObject, NSTableViewDataSource, NSTableViewDele
|
|||
}
|
||||
|
||||
private(set) var kit: NextcloudKit?
|
||||
private var itemURL: URL?
|
||||
private(set) var itemURL: URL?
|
||||
private(set) var itemServerRelativePath: String?
|
||||
private var shares: [NKShare] = [] {
|
||||
didSet { Task { @MainActor in sharesTableView?.reloadData() } }
|
||||
}
|
||||
|
@ -76,6 +77,7 @@ class ShareTableViewDataSource: NSObject, NSTableViewDataSource, NSTableViewDele
|
|||
Logger.sharesDataSource.error("Failed to get details from FileProviderExt")
|
||||
return
|
||||
}
|
||||
itemServerRelativePath = serverPath as String
|
||||
account = convertedAccount
|
||||
await sharesTableView?.deselectAll(self)
|
||||
shares = await fetch(
|
||||
|
|
Loading…
Reference in a new issue