Skip to content

Commit bc203cb

Browse files
committed
feat: add organization name configuration parameter
1 parent 0ae93d0 commit bc203cb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

frontend/src/app/shared/components/utm/config/app-config-sections/app-config-sections.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ <h6 class="font-weight-semibold mb-2">{{section.section | titlecase}}</h6>
3131
<button (click)="saveConfig()"
3232
[disabled]="!checkConfigValid() || saving || configToSave.length === 0 || (section.shortName === sectionType[sectionType.EMAIL] && !isCheckedEmailConfig)"
3333
class="btn utm-button utm-button-primary font-size-base span-small-icon">
34-
<i
35-
[ngClass]="saving?'icon-spinner2 spinner':'icon-cog3'"></i>
34+
<i [ngClass]="saving ? 'icon-spinner2 spinner' : 'icon-cog3'"></i>
3635
Save changes
3736
</button>
3837
</div>

frontend/src/app/shared/components/utm/config/app-config-sections/app-config-sections.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
TIMEZONES
1010
} from '../../../../constants/date-timezone-date.const';
1111
import {UtmConfigParamsService} from '../../../../services/config/utm-config-params.service';
12-
import {TimezoneFormatService} from "../../../../services/utm-timezone.service";
12+
import {TimezoneFormatService} from '../../../../services/utm-timezone.service';
1313
import {ConfigDataTypeEnum, SectionConfigParamType} from '../../../../types/configuration/section-config-param.type';
1414
import {ApplicationConfigSectionEnum, SectionConfigType} from '../../../../types/configuration/section-config.type';
1515
import {AppConfigDeleteConfirmComponent} from '../app-config-delete-confirm/app-config-delete-confirm.component';
@@ -207,7 +207,7 @@ export class AppConfigSectionsComponent implements OnInit, OnDestroy {
207207
}
208208

209209
checkedEmailConfig(event: boolean) {
210-
this.isCheckedEmailConfig = !this.isCheckedEmailConfig;
210+
this.isCheckedEmailConfig = event;
211211
}
212212

213213
isPasswordSet() {

0 commit comments

Comments
 (0)