mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
Cleanup some enums to consts
This commit is contained in:
parent
91e60c1007
commit
da2ab68fcc
13 changed files with 103 additions and 126 deletions
|
|
@ -7,7 +7,6 @@ import {
|
|||
|
||||
import {
|
||||
ComposeType,
|
||||
EditorDefaultType,
|
||||
FolderType
|
||||
} from 'Common/EnumsUser';
|
||||
|
||||
|
|
@ -100,7 +99,7 @@ const
|
|||
}
|
||||
},
|
||||
|
||||
isPlainEditor = () => EditorDefaultType.Plain === SettingsUserStore.editorDefaultType(),
|
||||
isPlainEditor = () => 'Plain' === SettingsUserStore.editorDefaultType(),
|
||||
|
||||
/**
|
||||
* @param {string} prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue