diff options
Diffstat (limited to 'src/components/Global')
-rw-r--r-- | src/components/Global/PageSection.vue | 7 | ||||
-rw-r--r-- | src/components/Global/PageTitle.vue | 7 | ||||
-rw-r--r-- | src/components/Global/StatusIcon.vue | 7 |
3 files changed, 3 insertions, 18 deletions
diff --git a/src/components/Global/PageSection.vue b/src/components/Global/PageSection.vue index 03040b29..678fd31d 100644 --- a/src/components/Global/PageSection.vue +++ b/src/components/Global/PageSection.vue @@ -8,12 +8,7 @@ <script> export default { name: 'PageSection', - props: { - sectionTitle: { - type: String, - required: true - } - } + props: ['sectionTitle'] }; </script> diff --git a/src/components/Global/PageTitle.vue b/src/components/Global/PageTitle.vue index 26588ca7..02314249 100644 --- a/src/components/Global/PageTitle.vue +++ b/src/components/Global/PageTitle.vue @@ -8,12 +8,7 @@ <script> export default { name: 'PageTitle', - props: { - description: { - type: String, - default: '' - } - }, + props: ['description'], data() { return { title: this.$route.meta.title diff --git a/src/components/Global/StatusIcon.vue b/src/components/Global/StatusIcon.vue index a2c7f04f..63155c9a 100644 --- a/src/components/Global/StatusIcon.vue +++ b/src/components/Global/StatusIcon.vue @@ -13,16 +13,11 @@ import IconError from '@carbon/icons-vue/es/error--filled/20'; export default { name: 'StatusIcon', + props: ['status'], components: { iconSuccess: IconCheckmark, iconDanger: IconWarning, iconSecondary: IconError - }, - props: { - status: { - type: String, - default: '' - } } }; </script> |