portainer/portainer

View on GitHub
app/kubernetes/components/helm/helm-templates/helm-templates-list/helm-templates-list-item/helm-templates-list-item.js

Summary

Maintainability
A
0 mins
Test Coverage
import angular from 'angular';
import './helm-templates-list-item.css';
import { HelmIcon } from '../../HelmIcon';

angular.module('portainer.kubernetes').component('helmTemplatesListItem', {
  templateUrl: './helm-templates-list-item.html',
  bindings: {
    model: '<',
    onSelect: '<',
  },
  transclude: {
    actions: '?templateItemActions',
  },
  controller() {
    this.fallbackIcon = HelmIcon;
  },
});