From b4a07a856f456882e5363c05aec3b0fb7f59d7ca Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Tue, 22 Oct 2019 17:51:09 +0200 Subject: [PATCH] Small fixes. --- .../shared/content-status.component.html | 4 ++-- .../references-dropdown.component.ts | 22 +++++++++++++++---- .../components/search-form.component.ts | 6 +++++ 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/src/Squidex/app/features/content/shared/content-status.component.html b/src/Squidex/app/features/content/shared/content-status.component.html index 6679161bb..539c10987 100644 --- a/src/Squidex/app/features/content/shared/content-status.component.html +++ b/src/Squidex/app/features/content/shared/content-status.component.html @@ -1,11 +1,11 @@ - + - + diff --git a/src/Squidex/app/shared/components/references-dropdown.component.ts b/src/Squidex/app/shared/components/references-dropdown.component.ts index ed91da3b5..16dd9b26d 100644 --- a/src/Squidex/app/shared/components/references-dropdown.component.ts +++ b/src/Squidex/app/shared/components/references-dropdown.component.ts @@ -5,7 +5,7 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, Input, OnInit } from '@angular/core'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, Input, OnChanges } from '@angular/core'; import { FormControl, NG_VALUE_ACCESSOR } from '@angular/forms'; import { @@ -48,7 +48,7 @@ const NO_EMIT = { emitEvent: false }; providers: [SQX_REFERENCES_DROPDOWN_CONTROL_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush }) -export class ReferencesDropdownComponent extends StatefulControlComponent | string> implements OnInit { +export class ReferencesDropdownComponent extends StatefulControlComponent | string> implements OnChanges { private languageField: LanguageDto; private selectedId: string | undefined; private itemCount: number; @@ -59,6 +59,10 @@ export class ReferencesDropdownComponent extends StatefulControlComponent