mirror of https://github.com/portainer/portainer
fix(react): use ctrl directive in WidgetTitle component [EE-2118] (#6181)
parent
2a384d4c64
commit
fa44a62c4a
|
@ -16,11 +16,11 @@ export const rdWidgetTitle = {
|
|||
template: `
|
||||
<div class="widget-header">
|
||||
<div class="row">
|
||||
<span ng-class="classes" class="pull-left">
|
||||
<i class="fa" ng-class="icon"></i>
|
||||
<span ng-transclude="title">{{ titleText }}</span>
|
||||
<span ng-class="$ctrl.classes" class="pull-left">
|
||||
<i class="fa" ng-class="$ctrl.icon"></i>
|
||||
<span ng-transclude="title">{{ $ctrl.titleText }}</span>
|
||||
</span>
|
||||
<span ng-class="classes" class="pull-right" ng-transclude></span>
|
||||
<span ng-class="$ctrl.classes" class="pull-right" ng-transclude></span>
|
||||
</div>
|
||||
</div>
|
||||
`,
|
||||
|
|
Loading…
Reference in New Issue