aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/services')
-rw-r--r--src/components/services/content/ServiceView.tsx2
-rw-r--r--src/components/services/content/ServiceWebview.tsx2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/components/services/content/ServiceView.tsx b/src/components/services/content/ServiceView.tsx
index 19dcdd07a..37dcafbe4 100644
--- a/src/components/services/content/ServiceView.tsx
+++ b/src/components/services/content/ServiceView.tsx
@@ -136,6 +136,7 @@ class ServiceView extends Component<IProps, IState> {
136 </> 136 </>
137 )} 137 )}
138 {service.isEnabled ? ( 138 {service.isEnabled ? (
139 // eslint-disable-next-line react/jsx-no-useless-fragment
139 <> 140 <>
140 {service.isHibernating ? ( 141 {service.isHibernating ? (
141 <div 142 <div
@@ -173,6 +174,7 @@ class ServiceView extends Component<IProps, IState> {
173 )} 174 )}
174 </> 175 </>
175 ) : ( 176 ) : (
177 // eslint-disable-next-line react/jsx-no-useless-fragment
176 <> 178 <>
177 {service.isActive && ( 179 {service.isActive && (
178 <ServiceDisabled 180 <ServiceDisabled
diff --git a/src/components/services/content/ServiceWebview.tsx b/src/components/services/content/ServiceWebview.tsx
index 008e1b227..50b5d478f 100644
--- a/src/components/services/content/ServiceWebview.tsx
+++ b/src/components/services/content/ServiceWebview.tsx
@@ -2,7 +2,7 @@ import { Component, ReactElement } from 'react';
2import { observer } from 'mobx-react'; 2import { observer } from 'mobx-react';
3import { action, makeObservable, observable, reaction } from 'mobx'; 3import { action, makeObservable, observable, reaction } from 'mobx';
4import ElectronWebView from 'react-electron-web-view'; 4import ElectronWebView from 'react-electron-web-view';
5import { join } from 'path'; 5import { join } from 'node:path';
6import ServiceModel from '../../../models/Service'; 6import ServiceModel from '../../../models/Service';
7 7
8const debug = require('../../../preload-safe-debug')('Ferdium:Services'); 8const debug = require('../../../preload-safe-debug')('Ferdium:Services');