Merge branch 'VM/RED-3800' into 'master'
RED-3800 - Refactoring / Code Cleanup Closes RED-3800 See merge request redactmanager/red-ui!529
This commit is contained in:
commit
f9c8571c31
@ -12,7 +12,7 @@ import { FileWorkloadComponent } from '../table-item/file-workload/file-workload
|
|||||||
import { ProcessingIndicatorComponent } from '@shared/components/processing-indicator/processing-indicator.component';
|
import { ProcessingIndicatorComponent } from '@shared/components/processing-indicator/processing-indicator.component';
|
||||||
import { FileActionsComponent } from '../../../shared-dossiers/components/file-actions/file-actions.component';
|
import { FileActionsComponent } from '../../../shared-dossiers/components/file-actions/file-actions.component';
|
||||||
import { AsyncPipe, NgForOf, NgIf } from '@angular/common';
|
import { AsyncPipe, NgForOf, NgIf } from '@angular/common';
|
||||||
import { ActiveListingEntityService } from '@services/active-listing-entity.service';
|
import { ActiveListingEntityService } from '@common-ui/listing/services/active-listing-entity.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'redaction-workflow-item',
|
selector: 'redaction-workflow-item',
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { TranslateModule } from '@ngx-translate/core';
|
|||||||
import { MatMenu, MatMenuItem, MatMenuTrigger } from '@angular/material/menu';
|
import { MatMenu, MatMenuItem, MatMenuTrigger } from '@angular/material/menu';
|
||||||
import { firstValueFrom } from 'rxjs';
|
import { firstValueFrom } from 'rxjs';
|
||||||
import { ComponentLogService } from '@services/files/component-log.service';
|
import { ComponentLogService } from '@services/files/component-log.service';
|
||||||
import { ActiveListingEntityService } from '@services/active-listing-entity.service';
|
import { ActiveListingEntityService } from '@common-ui/listing/services/active-listing-entity.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'redaction-file-download-btn',
|
selector: 'redaction-file-download-btn',
|
||||||
|
|||||||
@ -1,13 +0,0 @@
|
|||||||
import { Injectable, signal } from '@angular/core';
|
|
||||||
|
|
||||||
@Injectable({
|
|
||||||
providedIn: 'root',
|
|
||||||
})
|
|
||||||
export class ActiveListingEntityService {
|
|
||||||
readonly #activeEntity = signal<string>('');
|
|
||||||
readonly activeEntity = this.#activeEntity.asReadonly();
|
|
||||||
|
|
||||||
updateEntity(entity: string = '') {
|
|
||||||
this.#activeEntity.set(entity);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1 +1 @@
|
|||||||
Subproject commit 66277814c5e2d224f78dad5e28c94ac4d084409b
|
Subproject commit 7f8336a64f3e3bed6e4751be3c0624a98b4aa727
|
||||||
Loading…
x
Reference in New Issue
Block a user