mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1012] Hide delete checklist button when the checklist is in readonly mode (#2325)
* disable button to delete when the checklist is in readonly mode * style issues * fix test
This commit is contained in:
committed by
Popovics András
parent
1f4b1231c6
commit
a516d72304
@@ -17,14 +17,14 @@
|
||||
|
||||
import { DatePipe } from '@angular/common';
|
||||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
import { MdAutocompleteModule, MdButtonModule, MdCardModule, MdDatepickerModule, MdGridListModule,
|
||||
MdIconModule, MdInputModule, MdNativeDateModule, MdProgressSpinnerModule, MdRippleModule, MdSelectModule } from '@angular/material';
|
||||
import { ActivitiFormModule } from 'ng2-activiti-form';
|
||||
|
||||
import { CoreModule, TRANSLATION_PROVIDER } from 'ng2-alfresco-core';
|
||||
import { DataTableModule } from 'ng2-alfresco-datatable';
|
||||
import { PeopleService } from './src/services/people.service';
|
||||
import { ProcessUploadService } from './src/services/process-upload.service';
|
||||
import { TaskListService } from './src/services/tasklist.service';
|
||||
import { MaterialModule } from './src/components/material.module';
|
||||
|
||||
import { AppsListComponent } from './src/components/apps-list.component';
|
||||
import { ChecklistComponent } from './src/components/checklist.component';
|
||||
@@ -156,17 +156,7 @@ export const ACTIVITI_TASKLIST_PROVIDERS: any[] = [
|
||||
CoreModule,
|
||||
DataTableModule,
|
||||
ActivitiFormModule,
|
||||
MdIconModule,
|
||||
MdButtonModule,
|
||||
MdInputModule,
|
||||
MdCardModule,
|
||||
MdProgressSpinnerModule,
|
||||
MdDatepickerModule,
|
||||
MdNativeDateModule,
|
||||
MdSelectModule,
|
||||
MdAutocompleteModule,
|
||||
MdGridListModule,
|
||||
MdRippleModule
|
||||
MaterialModule
|
||||
],
|
||||
declarations: [
|
||||
...ACTIVITI_TASKLIST_DIRECTIVES
|
||||
@@ -185,8 +175,7 @@ export const ACTIVITI_TASKLIST_PROVIDERS: any[] = [
|
||||
],
|
||||
exports: [
|
||||
...ACTIVITI_TASKLIST_DIRECTIVES,
|
||||
MdIconModule,
|
||||
MdButtonModule
|
||||
MaterialModule
|
||||
]
|
||||
})
|
||||
export class ActivitiTaskListModule {
|
||||
|
Reference in New Issue
Block a user