1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 07:15:23 +02:00

fix(app-template): fixed the app template list not scroll to top issue (#7519)

* fix(app-template): fixed the app template list not scroll to top issue

* fix(templates): added id prop to PageHeader component.
This commit is contained in:
fhanportainer 2022-08-20 00:31:17 +12:00 committed by GitHub
parent 8cbff097e4
commit c17baa36ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 5 deletions

View file

@ -49,7 +49,14 @@ export const componentsModule = angular
.component('viewLoading', r2a(ViewLoading, ['message']))
.component(
'pageHeader',
r2a(PageHeader, ['title', 'breadcrumbs', 'loading', 'onReload', 'reload'])
r2a(PageHeader, [
'id',
'title',
'breadcrumbs',
'loading',
'onReload',
'reload',
])
)
.component(
'fallbackImage',

View file

@ -1,4 +1,4 @@
<page-header title="'Application templates list'" breadcrumbs="['Templates']"> </page-header>
<page-header id="'view-top'" title="'Application templates list'" breadcrumbs="['Templates']"> </page-header>
<div class="row">
<!-- stack-form -->