mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2869] Create File from template - keep the dialog open if creation fails due to the usage of a duplicate file name (#1299)
* rename create from template flow action * create from template action * dialog service * subscribe to dialog service * dispatch create file from template action on submit * update tests * subject value type * break effects and refactoring * update tests * update docs * change version number
This commit is contained in:
committed by
Adina Parpalita
parent
d12079e2a7
commit
0bc4a3453b
@@ -24,13 +24,21 @@
|
||||
*/
|
||||
|
||||
import { Action } from '@ngrx/store';
|
||||
import { Node } from '@alfresco/js-api';
|
||||
|
||||
export enum TemplateActionTypes {
|
||||
FileFromTemplate = 'FILE_FROM_TEMPLATE',
|
||||
CreateFileFromTemplate = 'CREATE_FILE_FROM_TEMPLATE'
|
||||
}
|
||||
|
||||
export class FileFromTemplate implements Action {
|
||||
readonly type = TemplateActionTypes.FileFromTemplate;
|
||||
|
||||
constructor() {}
|
||||
}
|
||||
|
||||
export class CreateFileFromTemplate implements Action {
|
||||
readonly type = TemplateActionTypes.CreateFileFromTemplate;
|
||||
|
||||
constructor() {}
|
||||
constructor(public payload: Node) {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user