mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-5145] Add enum for content node selector actions (#7039)
* [AAE-5145] Add enum for content node selector actions * [AAE-5145] Fix lint and unit tests * Order imports back to original order * Rename to NodeAction
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { AlfrescoApiService } from '@alfresco/adf-core';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { ContentNodeSelectorComponent, ContentNodeSelectorComponentData } from '@alfresco/adf-content-services';
|
||||
import { ContentNodeSelectorComponent, ContentNodeSelectorComponentData, NodeAction } from '@alfresco/adf-content-services';
|
||||
import { Node } from '@alfresco/js-api';
|
||||
import { Observable, Subject, throwError } from 'rxjs';
|
||||
|
||||
@@ -39,7 +39,7 @@ export class ContentCloudNodeSelectorService {
|
||||
});
|
||||
const data = <ContentNodeSelectorComponentData> {
|
||||
title: 'Select a file',
|
||||
actionName: 'Attach',
|
||||
actionName: NodeAction.ATTACH,
|
||||
currentFolderId,
|
||||
restrictRootToCurrentFolderId,
|
||||
select,
|
||||
|
Reference in New Issue
Block a user