aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-01 14:27:40 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-01 14:27:40 +0100
commit1947cad07e0d9c32ffb874bdea482e7ff037888b (patch)
treecaf17c27b5b02778a429bde83c49ab894b657b8a /src
parentMerge branch 'develop' into feature/workspaces (diff)
downloadferdium-app-1947cad07e0d9c32ffb874bdea482e7ff037888b.tar.gz
ferdium-app-1947cad07e0d9c32ffb874bdea482e7ff037888b.tar.zst
ferdium-app-1947cad07e0d9c32ffb874bdea482e7ff037888b.zip
fix eslint issues
Diffstat (limited to 'src')
-rw-r--r--src/features/workspaces/index.js6
-rw-r--r--src/stores/ServicesStore.js3
2 files changed, 4 insertions, 5 deletions
diff --git a/src/features/workspaces/index.js b/src/features/workspaces/index.js
index 8091f49fc..79c9b8ac9 100644
--- a/src/features/workspaces/index.js
+++ b/src/features/workspaces/index.js
@@ -15,9 +15,9 @@ export const filterServicesByActiveWorkspace = (services) => {
15 return services; 15 return services;
16}; 16};
17 17
18export const getActiveWorkspaceServices = (services) => { 18export const getActiveWorkspaceServices = services => (
19 return filterServicesByActiveWorkspace(services); 19 filterServicesByActiveWorkspace(services)
20}; 20);
21 21
22export default function initWorkspaces(stores, actions) { 22export default function initWorkspaces(stores, actions) {
23 const { features, user } = stores; 23 const { features, user } = stores;
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js
index a86db8103..da4b19c0d 100644
--- a/src/stores/ServicesStore.js
+++ b/src/stores/ServicesStore.js
@@ -2,7 +2,7 @@ import {
2 action, 2 action,
3 reaction, 3 reaction,
4 computed, 4 computed,
5 observable, runInAction, 5 observable,
6} from 'mobx'; 6} from 'mobx';
7import { debounce, remove } from 'lodash'; 7import { debounce, remove } from 'lodash';
8import ms from 'ms'; 8import ms from 'ms';
@@ -12,7 +12,6 @@ import Request from './lib/Request';
12import CachedRequest from './lib/CachedRequest'; 12import CachedRequest from './lib/CachedRequest';
13import { matchRoute } from '../helpers/routing-helpers'; 13import { matchRoute } from '../helpers/routing-helpers';
14import { gaEvent } from '../lib/analytics'; 14import { gaEvent } from '../lib/analytics';
15import { workspacesState } from '../features/workspaces/state';
16import { filterServicesByActiveWorkspace, getActiveWorkspaceServices } from '../features/workspaces'; 15import { filterServicesByActiveWorkspace, getActiveWorkspaceServices } from '../features/workspaces';
17 16
18const debug = require('debug')('Franz:ServiceStore'); 17const debug = require('debug')('Franz:ServiceStore');