We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f9ef02 commit 72c298aCopy full SHA for 72c298a
1 file changed
ui/src/views/AutogenView.vue
@@ -476,10 +476,12 @@ export default {
476
if (this.$route.meta.params) {
477
Object.assign(params, this.$route.meta.params)
478
}
479
- if ('templatefilter' in params && this.routeName === 'template') {
+ if (['Admin', 'DomainAdmin'].includes(this.$store.getters.userInfo.roletype) &&
480
+ 'templatefilter' in params && this.routeName === 'template') {
481
params.templatefilter = 'all'
482
- if ('isofilter' in params && this.routeName === 'iso') {
483
484
+ 'isofilter' in params && this.routeName === 'iso') {
485
params.isofilter = 'all'
486
487
if (Object.keys(this.$route.query).length > 0) {
0 commit comments