mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
More JSON properties to JavaScript camelCase
This commit is contained in:
parent
07f6b7545a
commit
d1823af111
21 changed files with 83 additions and 80 deletions
|
|
@ -13,10 +13,10 @@ export class AdminSettingsContacts extends AbstractViewSettings {
|
|||
super();
|
||||
this.defaultOptionsAfterRender = defaultOptionsAfterRender;
|
||||
|
||||
this.addSetting('ContactsPdoDsn');
|
||||
this.addSetting('ContactsPdoUser');
|
||||
this.addSetting('ContactsPdoPassword');
|
||||
this.addSetting('ContactsPdoType', () => {
|
||||
this.addSetting('contactsPdoDsn');
|
||||
this.addSetting('contactsPdoUser');
|
||||
this.addSetting('contactsPdoPassword');
|
||||
this.addSetting('contactsPdoType', () => {
|
||||
this.testContactsSuccess(false);
|
||||
this.testContactsError(false);
|
||||
this.testContactsErrorMessage('');
|
||||
|
|
@ -31,7 +31,7 @@ export class AdminSettingsContacts extends AbstractViewSettings {
|
|||
testContactsErrorMessage: ''
|
||||
});
|
||||
|
||||
this.addSetting('ContactsSuggestionsLimit');
|
||||
this.addSetting('contactsSuggestionsLimit');
|
||||
|
||||
const supportedTypes = SettingsGet('supportedPdoDrivers') || [],
|
||||
types = [{
|
||||
|
|
@ -92,10 +92,10 @@ export class AdminSettingsContacts extends AbstractViewSettings {
|
|||
|
||||
this.testing(false);
|
||||
}, {
|
||||
ContactsPdoType: this.contactsPdoType(),
|
||||
ContactsPdoDsn: this.contactsPdoDsn(),
|
||||
ContactsPdoUser: this.contactsPdoUser(),
|
||||
ContactsPdoPassword: this.contactsPdoPassword()
|
||||
contactsPdoType: this.contactsPdoType(),
|
||||
contactsPdoDsn: this.contactsPdoDsn(),
|
||||
contactsPdoUser: this.contactsPdoUser(),
|
||||
contactsPdoPassword: this.contactsPdoPassword()
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue