remove delete provission from country list
This commit is contained in:
@@ -124,10 +124,10 @@ export class CountryList implements OnInit {
|
|||||||
type: 'activate', label: 'Activate', icon: 'ti ti-toggle-left', className: 'text-success',
|
type: 'activate', label: 'Activate', icon: 'ti ti-toggle-left', className: 'text-success',
|
||||||
visible: row => !row.isActive, disabled: row => this.statusChangingId() === row.id || this.deletingId() === row.id
|
visible: row => !row.isActive, disabled: row => this.statusChangingId() === row.id || this.deletingId() === row.id
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
type: 'delete', label: 'Delete', icon: 'ti ti-trash', className: 'text-danger',
|
// type: 'delete', label: 'Delete', icon: 'ti ti-trash', className: 'text-danger',
|
||||||
disabled: row => this.statusChangingId() === row.id || this.deletingId() === row.id
|
// disabled: row => this.statusChangingId() === row.id || this.deletingId() === row.id
|
||||||
}
|
// }
|
||||||
]);
|
]);
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user