diff options
author | 2023-05-27 18:48:38 +0530 | |
---|---|---|
committer | 2023-05-27 18:48:38 +0530 | |
commit | eaa8e80efadc55d42462af0a5381f2552acc3c88 (patch) | |
tree | b54868af925e2db3fc6d5444475cd14bd3255f1c /src/components/layout/Sidebar.tsx | |
parent | update react version to 18.2.0 and it related changes (diff) | |
download | ferdium-app-eaa8e80efadc55d42462af0a5381f2552acc3c88.tar.gz ferdium-app-eaa8e80efadc55d42462af0a5381f2552acc3c88.tar.zst ferdium-app-eaa8e80efadc55d42462af0a5381f2552acc3c88.zip |
Expose "Clear service cache" in the service settings screen and the sidebar context menu for individual services (#1053)
Diffstat (limited to 'src/components/layout/Sidebar.tsx')
-rw-r--r-- | src/components/layout/Sidebar.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index 4eb18485f..fac424477 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx | |||
@@ -98,6 +98,7 @@ interface IProps extends WrappedComponentProps { | |||
98 | toggleAudio: (args: { serviceId: string }) => void; | 98 | toggleAudio: (args: { serviceId: string }) => void; |
99 | toggleDarkMode: (args: { serviceId: string }) => void; | 99 | toggleDarkMode: (args: { serviceId: string }) => void; |
100 | deleteService: (args: { serviceId: string }) => void; | 100 | deleteService: (args: { serviceId: string }) => void; |
101 | clearCache: (args: { serviceId: string }) => void; | ||
101 | hibernateService: (args: { serviceId: string }) => void; | 102 | hibernateService: (args: { serviceId: string }) => void; |
102 | wakeUpService: (args: { serviceId: string }) => void; | 103 | wakeUpService: (args: { serviceId: string }) => void; |
103 | updateService: (args: { | 104 | updateService: (args: { |
@@ -204,6 +205,7 @@ class Sidebar extends Component<IProps, IState> { | |||
204 | toggleDarkMode={this.props.toggleDarkMode} | 205 | toggleDarkMode={this.props.toggleDarkMode} |
205 | deleteService={this.props.deleteService} | 206 | deleteService={this.props.deleteService} |
206 | updateService={this.props.updateService} | 207 | updateService={this.props.updateService} |
208 | clearCache={this.props.clearCache} | ||
207 | hibernateService={this.props.hibernateService} | 209 | hibernateService={this.props.hibernateService} |
208 | wakeUpService={this.props.wakeUpService} | 210 | wakeUpService={this.props.wakeUpService} |
209 | /> | 211 | /> |