Skip to content

Commit 1f09266

Browse files
UI: Fix filtering of templates by account (apache#10425)
* fix filtering of templates by account * set filter to Mine when View Templates button is selected
1 parent 5526ef0 commit 1f09266

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/src/components/view/InfoCard.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,11 @@ export default {
11591159
if (item.value) {
11601160
query[item.param] = this.resource[item.value]
11611161
} else {
1162+
if (item.name === 'template') {
1163+
query.templatefilter = 'self'
1164+
query.filter = 'self'
1165+
}
1166+
11621167
if (item.param === 'account') {
11631168
query[item.param] = this.resource.name
11641169
query.domainid = this.resource.domainid

0 commit comments

Comments
 (0)