Reload hierarchy on "Refresh infrastructure"

Date was not refreshed either.
This commit is contained in:
Davide De Rosa 2021-11-28 16:25:10 +01:00
parent 9df4630254
commit 6d74f06e97
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
### Fixed
- Last update was not refreshed on "Refresh infrastructure".
## 1.17.2 (2021-11-30) ## 1.17.2 (2021-11-30)
### Changed ### Changed

View File

@ -173,6 +173,10 @@ class ProviderServiceView: NSView {
// MARK: Helpers // MARK: Helpers
func reloadData() { func reloadData() {
guard let profile = profile else {
return
}
reloadHierarchy(withProfile: profile)
} }
private func reloadHierarchy(withProfile profile: ProviderConnectionProfile) { private func reloadHierarchy(withProfile profile: ProviderConnectionProfile) {