aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r--src/stores/ServicesStore.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js
index e2bfd22f3..1c800df59 100644
--- a/src/stores/ServicesStore.js
+++ b/src/stores/ServicesStore.js
@@ -17,9 +17,9 @@ import {
17import { workspaceStore } from '../features/workspaces'; 17import { workspaceStore } from '../features/workspaces';
18import { DEFAULT_SERVICE_SETTINGS, KEEP_WS_LOADED_USID } from '../config'; 18import { DEFAULT_SERVICE_SETTINGS, KEEP_WS_LOADED_USID } from '../config';
19import { SPELLCHECKER_LOCALES } from '../i18n/languages'; 19import { SPELLCHECKER_LOCALES } from '../i18n/languages';
20import { ferdiVersion } from '../environment-remote'; 20import { ferdiumVersion } from '../environment-remote';
21 21
22const debug = require('debug')('Ferdi:ServiceStore'); 22const debug = require('debug')('Ferdium:ServiceStore');
23 23
24export default class ServicesStore extends Store { 24export default class ServicesStore extends Store {
25 @observable allServicesRequest = new CachedRequest(this.api.services, 'all'); 25 @observable allServicesRequest = new CachedRequest(this.api.services, 'all');
@@ -563,7 +563,7 @@ export default class ServicesStore extends Store {
563 if (!pathExistsSync(filePath)) { 563 if (!pathExistsSync(filePath)) {
564 writeFileSync( 564 writeFileSync(
565 filePath, 565 filePath,
566 `module.exports = (config, Ferdi) => { 566 `module.exports = (config, Ferdium) => {
567 // Write your scripts here 567 // Write your scripts here
568 console.log("Hello, World!", config); 568 console.log("Hello, World!", config);
569}; 569};
@@ -691,7 +691,7 @@ export default class ServicesStore extends Store {
691 const service = this.active; 691 const service = this.active;
692 if (service) { 692 if (service) {
693 if (service._webview) { 693 if (service._webview) {
694 document.title = `Ferdi - ${service.name} ${ 694 document.title = `Ferdium - ${service.name} ${
695 service.dialogTitle ? ` - ${service.dialogTitle}` : '' 695 service.dialogTitle ? ` - ${service.dialogTitle}` : ''
696 } ${service._webview ? `- ${service._webview.getTitle()}` : ''}`; 696 } ${service._webview ? `- ${service._webview.getTitle()}` : ''}`;
697 this._focusService({ serviceId: service.id }); 697 this._focusService({ serviceId: service.id });
@@ -1127,7 +1127,7 @@ export default class ServicesStore extends Store {
1127 const service = this.active; 1127 const service = this.active;
1128 if (service) { 1128 if (service) {
1129 this.actions.service.focusService({ serviceId: service.id }); 1129 this.actions.service.focusService({ serviceId: service.id });
1130 document.title = `Ferdi - ${service.name} ${ 1130 document.title = `Ferdium - ${service.name} ${
1131 service.dialogTitle ? ` - ${service.dialogTitle}` : '' 1131 service.dialogTitle ? ` - ${service.dialogTitle}` : ''
1132 } ${service._webview ? `- ${service._webview.getTitle()}` : ''}`; 1132 } ${service._webview ? `- ${service._webview.getTitle()}` : ''}`;
1133 } else { 1133 } else {
@@ -1282,7 +1282,7 @@ export default class ServicesStore extends Store {
1282 'initialize-recipe', 1282 'initialize-recipe',
1283 { 1283 {
1284 ...shareWithWebview, 1284 ...shareWithWebview,
1285 franzVersion: ferdiVersion, 1285 franzVersion: ferdiumVersion,
1286 }, 1286 },
1287 service.recipe, 1287 service.recipe,
1288 ); 1288 );