Set inheritAttrs=false in Components using CruResource

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:01:53 +02:00
parent 8595e653e4
commit ac6388a9a2
26 changed files with 52 additions and 0 deletions
@@ -27,6 +27,9 @@ export default {
},
mixins: [CreateEditView, FormValidation],
inheritAttrs: false,
async fetch() {
if ( this.$store.getters['management/canList'](MANAGEMENT.POD_SECURITY_POLICY_TEMPLATE) ) {
this.allPSPs = await this.$store.dispatch('management/findAll', { type: MANAGEMENT.POD_SECURITY_POLICY_TEMPLATE });