diff options
Diffstat (limited to 'src/components/services/tabs')
-rw-r--r-- | src/components/services/tabs/TabItem.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/services/tabs/TabItem.js b/src/components/services/tabs/TabItem.js index 4a37bad57..a7136c43f 100644 --- a/src/components/services/tabs/TabItem.js +++ b/src/components/services/tabs/TabItem.js | |||
@@ -111,8 +111,8 @@ class TabItem extends Component { | |||
111 | : intl.formatMessage(messages.disableAudio), | 111 | : intl.formatMessage(messages.disableAudio), |
112 | click: () => toggleAudio(), | 112 | click: () => toggleAudio(), |
113 | }, { | 113 | }, { |
114 | label: intl.formatMessage(messages.disableService), | 114 | label: intl.formatMessage(service.isEnabled ? messages.disableService : messages.enableService), |
115 | click: () => disableService(), | 115 | click: () => (service.isEnabled ? disableService() : enableService()), |
116 | }, { | 116 | }, { |
117 | type: 'separator', | 117 | type: 'separator', |
118 | }, { | 118 | }, { |