fix(preferences(js)): don't check Sieve script if Mail module disabled

This commit is contained in:
Francis Lachapelle
2022-02-07 10:26:48 -05:00
parent 0f77c1cbed
commit a1d74a8910
@@ -34,7 +34,8 @@
if (Preferences.defaults.SOGoAlternateAvatar)
User.$alternateAvatar = Preferences.defaults.SOGoAlternateAvatar;
this.preferences.hasActiveExternalSieveScripts();
if (sgSettings.activeUser('path').mail)
this.preferences.hasActiveExternalSieveScripts();
this.updateVacationDates();
};