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-09 17:44:21 +02:00
parent 8595e653e4
commit ac6388a9a2
No known key found for this signature in database
GPG Key ID: E6D011B7415D4393
26 changed files with 52 additions and 0 deletions

View File

@ -36,6 +36,8 @@ export default {
mixins: [CreateEditView, VM_MIXIN],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -36,6 +36,8 @@ export default {
mixins: [CreateEditView, VM_MIXIN],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -9,6 +9,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -14,6 +14,8 @@ export default {
name: 'EditAddonVcluster',
components: { LabeledInput, RadioGroup },
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -25,6 +25,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
data() {
return {
config: this.value.data?.cloudInit || '',

View File

@ -55,6 +55,7 @@ export default {
MessageLink,
},
mixins: [CreateEditView],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -25,6 +25,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -31,6 +31,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
async fetch() {
await this.$store.dispatch('harvester/findAll', { type: SECRET });
},

View File

@ -32,6 +32,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
props: {
mode: {
type: String,

View File

@ -30,6 +30,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
async fetch() {
const inStore = this.$store.getters['currentProduct'].inStore;
const alertmanagerConfigId = this.value.id;

View File

@ -30,6 +30,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -31,6 +31,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
async fetch() {
const hash = await allHash({
settings: this.$store.dispatch('harvester/findAll', { type: HCI.SETTING }),

View File

@ -39,6 +39,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
async fetch() {
if ( this.isCloud ) {
this.nodeDrivers = await this.$store.dispatch('management/findAll', { type: MANAGEMENT.NODE_DRIVER });

View File

@ -20,6 +20,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
data() {
const t = this.$store.getters['i18n/t'];
const setting =

View File

@ -41,6 +41,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
data() {
const reclaimPolicyOptions = [{
label: this.t('storageClass.customize.reclaimPolicy.delete'),

View File

@ -27,6 +27,8 @@ const rawORqcow2 = 'raw_qcow2';
export default {
name: 'EditImage',
inheritAttrs: false,
emits: ['update:value'],
components: {

View File

@ -53,6 +53,8 @@ export default {
mixins: [CreateEditView, VM_MIXIN],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -38,6 +38,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
async fetch() {
const inStore = this.$store.getters['currentProduct'].inStore;
const _hash = {

View File

@ -24,6 +24,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
computed: {
volume() {
return this.volumes.find((V) => {

View File

@ -78,6 +78,8 @@ export default {
mixins: [CreateEditView, VM_MIXIN],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -26,6 +26,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
async fetch() {
const inStore = this.$store.getters['currentProduct'].inStore;

View File

@ -41,6 +41,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
props: {
value: {
type: Object,

View File

@ -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 });

View File

@ -22,6 +22,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
computed: {
doneLocationOverride() {
return this.value.doneOverride;

View File

@ -43,6 +43,8 @@ export default {
mixins: [CreateEditView],
inheritAttrs: false,
data() {
const originNics = clone(this.value?.spec?.uplink?.nics || []);

View File

@ -25,6 +25,8 @@ export default {
Checkbox, CruResource, LabeledSelect, LabeledInput, RadioGroup, UpgradeInfo
},
inheritAttrs: false,
async fetch() {
await this.$store.dispatch('harvester/findAll', { type: HCI.IMAGE });