mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
refactor(templates): migrate template item to react [EE-6203] (#10429)
This commit is contained in:
parent
d970f0e2bc
commit
1ad9488ca7
25 changed files with 932 additions and 289 deletions
|
@ -22,6 +22,11 @@ export default class KubeCustomTemplatesViewController {
|
|||
this.validateForm = this.validateForm.bind(this);
|
||||
this.confirmDelete = this.confirmDelete.bind(this);
|
||||
this.selectTemplate = this.selectTemplate.bind(this);
|
||||
this.isSelected = this.isSelected.bind(this);
|
||||
}
|
||||
|
||||
isSelected(templateId) {
|
||||
return this.state.selectedTemplate && this.state.selectedTemplate.Id === templateId;
|
||||
}
|
||||
|
||||
selectTemplate(template) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue