ACS-8201 Fixed issues after rebase

This commit is contained in:
Aleksander Sklorz
2024-08-20 14:06:20 +02:00
parent 261d35b805
commit 27a536434a
3 changed files with 13 additions and 8 deletions

View File

@@ -45,7 +45,10 @@ export class SearchAiService {
toggleSearchAiInput$ = this.toggleSearchAiInput.asObservable(); toggleSearchAiInput$ = this.toggleSearchAiInput.asObservable();
constructor(private apiService: AlfrescoApiService, private translateService: TranslateService) {} constructor(
private apiService: AlfrescoApiService,
private translateService: TranslateService
) {}
/** /**
* Update the state of the search AI input. * Update the state of the search AI input.
@@ -96,11 +99,11 @@ export class SearchAiService {
questionId: 'some id', questionId: 'some id',
references: [ references: [
{ {
referenceId: '6ee094b5-f51b-411e-88f8-31b41784ff18', referenceId: '45a84919-d654-4669-a849-19d6548669e9',
referenceText: 'some type' referenceText: 'some type'
}, },
{ {
referenceId: '853518e9-071a-41bb-a30c-7e564d4f3382', referenceId: '45a84919-d654-4669-a849-19d6548669e9',
referenceText: 'some type' referenceText: 'some type'
} }
] ]

View File

@@ -34,9 +34,10 @@
} }
&-actions { &-actions {
margin-top: 18px; margin-top: 11px;
margin-bottom: 4px; margin-bottom: 1px;
padding: 0; padding: 0;
align-items: flex-end;
&-cancel-button { &-cancel-button {
background-color: var(--adf-secondary-button-background); background-color: var(--adf-secondary-button-background);

View File

@@ -38,8 +38,6 @@ import { AppConfigValues } from '../../app-config';
@Component({ @Component({
standalone: true, standalone: true,
selector: 'adf-unsaved-changes-dialog', selector: 'adf-unsaved-changes-dialog',
standalone: true,
imports: [CommonModule, MatDialogModule, TranslateModule, MatButtonModule, MatIconModule],
encapsulation: ViewEncapsulation.None, encapsulation: ViewEncapsulation.None,
templateUrl: './unsaved-changes-dialog.component.html', templateUrl: './unsaved-changes-dialog.component.html',
styleUrls: ['./unsaved-changes-dialog.component.scss'], styleUrls: ['./unsaved-changes-dialog.component.scss'],
@@ -49,7 +47,10 @@ import { AppConfigValues } from '../../app-config';
export class UnsavedChangesDialogComponent implements OnInit { export class UnsavedChangesDialogComponent implements OnInit {
dialogData: UnsavedChangesDialogData; dialogData: UnsavedChangesDialogData;
constructor(@Inject(MAT_DIALOG_DATA) public data: UnsavedChangesDialogData, private storageService: StorageService) {} constructor(
@Inject(MAT_DIALOG_DATA) public data: UnsavedChangesDialogData,
private storageService: StorageService
) {}
ngOnInit() { ngOnInit() {
this.dialogData = { this.dialogData = {