aboutsummaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-21 16:32:10 +0530
committerLibravatar GitHub <noreply@github.com>2021-08-21 16:32:10 +0530
commit04d1e0aaecdb0235d9a281b16f9eddccddb4cb57 (patch)
tree533d9ced0128aa28d56d58430a757b166c809804 /src/models
parentchore: added TODO and regenerated file [skip ci] (diff)
downloadferdium-app-04d1e0aaecdb0235d9a281b16f9eddccddb4cb57.tar.gz
ferdium-app-04d1e0aaecdb0235d9a281b16f9eddccddb4cb57.tar.zst
ferdium-app-04d1e0aaecdb0235d9a281b16f9eddccddb4cb57.zip
Incorrect position while adding a new service when there were pre-existing services (#1820)
Diffstat (limited to 'src/models')
-rw-r--r--src/models/Service.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/Service.js b/src/models/Service.js
index fe56e5a76..c2b081864 100644
--- a/src/models/Service.js
+++ b/src/models/Service.js
@@ -7,6 +7,7 @@ import { join } from 'path';
7import { todosStore } from '../features/todos'; 7import { todosStore } from '../features/todos';
8import { isValidExternalURL } from '../helpers/url-helpers'; 8import { isValidExternalURL } from '../helpers/url-helpers';
9import UserAgent from './UserAgent'; 9import UserAgent from './UserAgent';
10import { DEFAULT_SERVICE_ORDER } from '../config';
10 11
11const debug = require('debug')('Ferdi:Service'); 12const debug = require('debug')('Ferdi:Service');
12 13
@@ -31,7 +32,7 @@ export default class Service {
31 32
32 @observable unreadIndirectMessageCount = 0; 33 @observable unreadIndirectMessageCount = 0;
33 34
34 @observable order = 99; 35 @observable order = DEFAULT_SERVICE_ORDER;
35 36
36 @observable isEnabled = true; 37 @observable isEnabled = true;
37 38