kubernetes.templates -> kubernetes.templates.helm name conflict fix

This commit is contained in:
zees-dev
2021-09-06 13:45:39 +12:00
parent c2f079b4e3
commit 3b2b0d0874
3 changed files with 3 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ angular.module('portainer.kubernetes', ['portainer.app', registriesModule, custo
};
const helmTemplates = {
name: 'kubernetes.templates',
name: 'kubernetes.templates.helm',
url: '/templates/helm',
views: {
'content@': {

View File

@@ -1,6 +1,6 @@
<rd-header id="view-top">
<rd-header-title title-text="Helm">
<a data-toggle="tooltip" title="Refresh" ui-sref="kubernetes.templates" ui-sref-opts="{reload: true}">
<a data-toggle="tooltip" title="Refresh" ui-sref="kubernetes.templates.helm" ui-sref-opts="{reload: true}">
<i class="fa fa-sync" aria-hidden="true"></i>
</a>
</rd-header-title>

View File

@@ -28,12 +28,7 @@
Namespaces
</sidebar-menu-item>
<sidebar-menu-item
path="kubernetes.templates"
path-params="{ endpointId: $ctrl.endpointId }"
icon-class="fa-dharmachakra fa-fw"
class-name="sidebar-list"
>
<sidebar-menu-item path="kubernetes.templates.helm" path-params="{ endpointId: $ctrl.endpointId }" icon-class="fa-dharmachakra fa-fw" class-name="sidebar-list">
Helm
</sidebar-menu-item>