aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Peter Migotto <phmigotto@gmail.com>2017-10-26 16:44:48 +0100
committerLibravatar GitHub <noreply@github.com>2017-10-26 16:44:48 +0100
commitfa8fbd75bbf36e64d7a8dc9720109007f4ad795a (patch)
treeb5313de9efe6b8d017f76dbbdccb18a67ae9522b
parentUpdate en-US.json (diff)
downloadferdium-app-fa8fbd75bbf36e64d7a8dc9720109007f4ad795a.tar.gz
ferdium-app-fa8fbd75bbf36e64d7a8dc9720109007f4ad795a.tar.zst
ferdium-app-fa8fbd75bbf36e64d7a8dc9720109007f4ad795a.zip
Update TabBarSortableList.js
-rw-r--r--src/components/services/tabs/TabBarSortableList.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/components/services/tabs/TabBarSortableList.js b/src/components/services/tabs/TabBarSortableList.js
index 1060ad5f5..c0a68d1a5 100644
--- a/src/components/services/tabs/TabBarSortableList.js
+++ b/src/components/services/tabs/TabBarSortableList.js
@@ -5,13 +5,6 @@ import { SortableContainer } from 'react-sortable-hoc';
5import TabItem from './TabItem'; 5import TabItem from './TabItem';
6import { ctrlKey } from '../../../environment'; 6import { ctrlKey } from '../../../environment';
7 7
8const messages = defineMessages({
9 addservice: {
10 id: 'sidebar.addservice',
11 defaultMessage: '!!!Add new service',
12 },
13});
14
15export default SortableContainer(observer(({ 8export default SortableContainer(observer(({
16 services, 9 services,
17 setActive, 10 setActive,
@@ -42,7 +35,7 @@ export default SortableContainer(observer(({
42 <button 35 <button
43 className="sidebar__add-service" 36 className="sidebar__add-service"
44 onClick={() => openSettings({ path: 'recipes' })} 37 onClick={() => openSettings({ path: 'recipes' })}
45 data-tip={`${intl.formatMessage(messages.addservice)} (${ctrlKey}+N)`} 38 data-tip={`Add new service (${ctrlKey}+N)`}
46 > 39 >
47 <span className="mdi mdi-plus" /> 40 <span className="mdi mdi-plus" />
48 </button> 41 </button>