mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-02-04 15:01:46 +00:00
Set inheritAttrs=false in Components using CruResource
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
8595e653e4
commit
ac6388a9a2
@ -36,6 +36,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView, VM_MIXIN],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -36,6 +36,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView, VM_MIXIN],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -9,6 +9,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -14,6 +14,8 @@ export default {
|
||||
name: 'EditAddonVcluster',
|
||||
components: { LabeledInput, RadioGroup },
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -25,6 +25,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
data() {
|
||||
return {
|
||||
config: this.value.data?.cloudInit || '',
|
||||
|
||||
@ -55,6 +55,7 @@ export default {
|
||||
MessageLink,
|
||||
},
|
||||
mixins: [CreateEditView],
|
||||
inheritAttrs: false,
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -25,6 +25,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -31,6 +31,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
async fetch() {
|
||||
await this.$store.dispatch('harvester/findAll', { type: SECRET });
|
||||
},
|
||||
|
||||
@ -32,6 +32,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
mode: {
|
||||
type: String,
|
||||
|
||||
@ -30,6 +30,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
async fetch() {
|
||||
const inStore = this.$store.getters['currentProduct'].inStore;
|
||||
const alertmanagerConfigId = this.value.id;
|
||||
|
||||
@ -30,6 +30,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -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 }),
|
||||
|
||||
@ -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 });
|
||||
|
||||
@ -20,6 +20,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
data() {
|
||||
const t = this.$store.getters['i18n/t'];
|
||||
const setting =
|
||||
|
||||
@ -41,6 +41,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
data() {
|
||||
const reclaimPolicyOptions = [{
|
||||
label: this.t('storageClass.customize.reclaimPolicy.delete'),
|
||||
|
||||
@ -27,6 +27,8 @@ const rawORqcow2 = 'raw_qcow2';
|
||||
export default {
|
||||
name: 'EditImage',
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
emits: ['update:value'],
|
||||
|
||||
components: {
|
||||
|
||||
@ -53,6 +53,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView, VM_MIXIN],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -38,6 +38,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
async fetch() {
|
||||
const inStore = this.$store.getters['currentProduct'].inStore;
|
||||
const _hash = {
|
||||
|
||||
@ -24,6 +24,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
computed: {
|
||||
volume() {
|
||||
return this.volumes.find((V) => {
|
||||
|
||||
@ -78,6 +78,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView, VM_MIXIN],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -26,6 +26,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
async fetch() {
|
||||
const inStore = this.$store.getters['currentProduct'].inStore;
|
||||
|
||||
|
||||
@ -41,6 +41,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
props: {
|
||||
value: {
|
||||
type: Object,
|
||||
|
||||
@ -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 });
|
||||
|
||||
@ -22,6 +22,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
computed: {
|
||||
doneLocationOverride() {
|
||||
return this.value.doneOverride;
|
||||
|
||||
@ -43,6 +43,8 @@ export default {
|
||||
|
||||
mixins: [CreateEditView],
|
||||
|
||||
inheritAttrs: false,
|
||||
|
||||
data() {
|
||||
const originNics = clone(this.value?.spec?.uplink?.nics || []);
|
||||
|
||||
|
||||
@ -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 });
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user