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 = {
|
||||
name: 'portainer.stacks.new',
|
||||
url: '/new',
|
||||
name: 'portainer.newstack',
|
||||
url: '/newstack',
|
||||
views: {
|
||||
'content@': {
|
||||
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)">
|
||||
<i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove
|
||||
</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
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue