chore: Fix Eslint warnings (#3654)
* Fix all the eslint warnings * Revert the schema
This commit is contained in:
@@ -57,9 +57,9 @@ export default {
|
||||
WootSubmitButton,
|
||||
},
|
||||
props: {
|
||||
resetPasswordToken: String,
|
||||
redirectUrl: String,
|
||||
config: String,
|
||||
resetPasswordToken: { type: String, default: '' },
|
||||
redirectUrl: { type: String, default: '' },
|
||||
config: { type: String, default: '' },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
headerTitle: String,
|
||||
headerContent: String,
|
||||
headerTitle: { type: String, default: '' },
|
||||
headerContent: { type: String, default: '' },
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -25,9 +25,9 @@ export default {
|
||||
SettingsHeader,
|
||||
},
|
||||
props: {
|
||||
headerTitle: String,
|
||||
headerButtonText: String,
|
||||
icon: String,
|
||||
headerTitle: { type: String, default: '' },
|
||||
headerButtonText: { type: String, default: '' },
|
||||
icon: { type: String, default: '' },
|
||||
keepAlive: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
|
||||
@@ -61,10 +61,10 @@ export default {
|
||||
Modal,
|
||||
},
|
||||
props: {
|
||||
id: Number,
|
||||
edcontent: String,
|
||||
edshortCode: String,
|
||||
onClose: Function,
|
||||
id: { type: Number, default: null },
|
||||
edcontent: { type: String, default: '' },
|
||||
edshortCode: { type: String, default: '' },
|
||||
onClose: { type: Function, default: () => {} },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -47,8 +47,8 @@ export default {
|
||||
mixins: [globalConfigMixin],
|
||||
props: {
|
||||
integrationId: {
|
||||
type: String,
|
||||
default: '',
|
||||
type: [String, Number],
|
||||
required: true,
|
||||
},
|
||||
integrationLogo: {
|
||||
type: String,
|
||||
|
||||
@@ -68,14 +68,17 @@ import globalConfigMixin from 'shared/mixins/globalConfigMixin';
|
||||
|
||||
export default {
|
||||
mixins: [alertMixin, globalConfigMixin],
|
||||
props: [
|
||||
'integrationId',
|
||||
'integrationLogo',
|
||||
'integrationName',
|
||||
'integrationDescription',
|
||||
'integrationEnabled',
|
||||
'integrationAction',
|
||||
],
|
||||
props: {
|
||||
integrationId: {
|
||||
type: [String, Number],
|
||||
required: true,
|
||||
},
|
||||
integrationLogo: { type: String, default: '' },
|
||||
integrationName: { type: String, default: '' },
|
||||
integrationDescription: { type: String, default: '' },
|
||||
integrationEnabled: { type: Boolean, default: false },
|
||||
integrationAction: { type: String, default: '' },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showDeleteConfirmationPopup: false,
|
||||
|
||||
@@ -33,7 +33,14 @@ export default {
|
||||
IntegrationHelpText,
|
||||
},
|
||||
mixins: [globalConfigMixin],
|
||||
props: ['integrationId', 'code'],
|
||||
|
||||
props: {
|
||||
integrationId: {
|
||||
type: [String, Number],
|
||||
required: true,
|
||||
},
|
||||
code: { type: String, default: '' },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
integrationLoaded: false,
|
||||
|
||||
Reference in New Issue
Block a user