Skip to content

Commit 69551a0

Browse files
fix filtering of templates by account
1 parent b9ebc7b commit 69551a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/src/components/view/InfoCard.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,10 @@ 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+
}
1165+
11621166
if (item.param === 'account') {
11631167
query[item.param] = this.resource.name
11641168
query.domainid = this.resource.domainid

0 commit comments

Comments
 (0)