diff --git a/packages/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.ts b/packages/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.ts index 7eaf322b27..083c469dfa 100644 --- a/packages/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.ts +++ b/packages/admin-ui/src/app/settings/components/channel-detail/channel-detail.component.ts @@ -1,6 +1,7 @@ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; +import { getDefaultLanguage } from '@vendure/admin-ui/src/app/common/utilities/get-default-language'; import { Observable } from 'rxjs'; import { mergeMap, take } from 'rxjs/operators'; import { DEFAULT_CHANNEL_CODE } from 'shared/shared-constants'; @@ -69,13 +70,15 @@ export class ChannelDetailComponent extends BaseDetailComponent { this.notificationService.success(_('common.notify-create-success'), {