aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services/tabs/TabBarSortableList.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-11-09 12:11:16 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-11-09 12:15:36 +0100
commit1839eff4fcad186871672499b6c3cc68e9539ce2 (patch)
tree207f0c0cf694309f6d84afeee220cacdc9b56242 /src/components/services/tabs/TabBarSortableList.js
parentMerge branch 'develop' of github.com:meetfranz/franz into develop (diff)
downloadferdium-app-1839eff4fcad186871672499b6c3cc68e9539ce2.tar.gz
ferdium-app-1839eff4fcad186871672499b6c3cc68e9539ce2.tar.zst
ferdium-app-1839eff4fcad186871672499b6c3cc68e9539ce2.zip
feat(Service): Add option to display disabled services in tabs
Diffstat (limited to 'src/components/services/tabs/TabBarSortableList.js')
-rw-r--r--src/components/services/tabs/TabBarSortableList.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/services/tabs/TabBarSortableList.js b/src/components/services/tabs/TabBarSortableList.js
index e5ae36419..3340cbbbb 100644
--- a/src/components/services/tabs/TabBarSortableList.js
+++ b/src/components/services/tabs/TabBarSortableList.js
@@ -24,6 +24,7 @@ class TabBarSortableList extends Component {
24 toggleNotifications: PropTypes.func.isRequired, 24 toggleNotifications: PropTypes.func.isRequired,
25 deleteService: PropTypes.func.isRequired, 25 deleteService: PropTypes.func.isRequired,
26 disableService: PropTypes.func.isRequired, 26 disableService: PropTypes.func.isRequired,
27 enableService: PropTypes.func.isRequired,
27 } 28 }
28 29
29 static contextTypes = { 30 static contextTypes = {
@@ -38,6 +39,7 @@ class TabBarSortableList extends Component {
38 toggleNotifications, 39 toggleNotifications,
39 deleteService, 40 deleteService,
40 disableService, 41 disableService,
42 enableService,
41 openSettings, 43 openSettings,
42 } = this.props; 44 } = this.props;
43 45
@@ -58,6 +60,7 @@ class TabBarSortableList extends Component {
58 toggleNotifications={() => toggleNotifications({ serviceId: service.id })} 60 toggleNotifications={() => toggleNotifications({ serviceId: service.id })}
59 deleteService={() => deleteService({ serviceId: service.id })} 61 deleteService={() => deleteService({ serviceId: service.id })}
60 disableService={() => disableService({ serviceId: service.id })} 62 disableService={() => disableService({ serviceId: service.id })}
63 enableService={() => enableService({ serviceId: service.id })}
61 openSettings={openSettings} 64 openSettings={openSettings}
62 /> 65 />
63 ))} 66 ))}