From eaa8e80efadc55d42462af0a5381f2552acc3c88 Mon Sep 17 00:00:00 2001
From: Vijay Aravamudhan <vraravam@users.noreply.github.com>
Date: Sat, 27 May 2023 18:48:38 +0530
Subject: Expose "Clear service cache" in the service settings screen and the
 sidebar context menu for individual services (#1053)

---
 src/components/layout/Sidebar.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/components/layout/Sidebar.tsx')

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 {
   toggleAudio: (args: { serviceId: string }) => void;
   toggleDarkMode: (args: { serviceId: string }) => void;
   deleteService: (args: { serviceId: string }) => void;
+  clearCache: (args: { serviceId: string }) => void;
   hibernateService: (args: { serviceId: string }) => void;
   wakeUpService: (args: { serviceId: string }) => void;
   updateService: (args: {
@@ -204,6 +205,7 @@ class Sidebar extends Component<IProps, IState> {
           toggleDarkMode={this.props.toggleDarkMode}
           deleteService={this.props.deleteService}
           updateService={this.props.updateService}
+          clearCache={this.props.clearCache}
           hibernateService={this.props.hibernateService}
           wakeUpService={this.props.wakeUpService}
         />
-- 
cgit v1.2.3-70-g09d2

