diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-08-21 16:32:10 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-21 16:32:10 +0530 |
commit | 04d1e0aaecdb0235d9a281b16f9eddccddb4cb57 (patch) | |
tree | 533d9ced0128aa28d56d58430a757b166c809804 /src/models | |
parent | chore: added TODO and regenerated file [skip ci] (diff) | |
download | ferdium-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.js | 3 |
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'; | |||
7 | import { todosStore } from '../features/todos'; | 7 | import { todosStore } from '../features/todos'; |
8 | import { isValidExternalURL } from '../helpers/url-helpers'; | 8 | import { isValidExternalURL } from '../helpers/url-helpers'; |
9 | import UserAgent from './UserAgent'; | 9 | import UserAgent from './UserAgent'; |
10 | import { DEFAULT_SERVICE_ORDER } from '../config'; | ||
10 | 11 | ||
11 | const debug = require('debug')('Ferdi:Service'); | 12 | const 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 | ||