fix(app): fix invalid state name (#2330)
* fix(app): fix invalid state name * fix(app): update ui-srefpull/2335/head
parent
f6d9a4c7c1
commit
3422662191
|
@ -287,8 +287,8 @@ angular.module('portainer.app', [])
|
||||||
};
|
};
|
||||||
|
|
||||||
var stackCreation = {
|
var stackCreation = {
|
||||||
name: 'portainer.stacks.new',
|
name: 'portainer.newstack',
|
||||||
url: '/new',
|
url: '/newstack',
|
||||||
views: {
|
views: {
|
||||||
'content@': {
|
'content@': {
|
||||||
templateUrl: 'app/portainer/views/stacks/create/createstack.html',
|
templateUrl: 'app/portainer/views/stacks/create/createstack.html',
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
ng-disabled="$ctrl.state.selectedItemCount === 0" ng-click="$ctrl.removeAction($ctrl.state.selectedItems)">
|
ng-disabled="$ctrl.state.selectedItemCount === 0" ng-click="$ctrl.removeAction($ctrl.state.selectedItems)">
|
||||||
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-sm btn-primary" ui-sref="portainer.stacks.new">
|
<button type="button" class="btn btn-sm btn-primary" ui-sref="portainer.newstack">
|
||||||
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add stack
|
<i class="fa fa-plus space-right" aria-hidden="true"></i>Add stack
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue