summaryrefslogtreecommitdiff
path: root/src/components/Global
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-01-29 05:18:40 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-01-29 05:19:24 +0300
commitc4844b457cb7eeb8cab0ee8dca179be684a38b17 (patch)
tree0856ee85b0d0fd9cfc0e647cab40d02fb2bedf13 /src/components/Global
parentff4ab407dac4b5652bf8b7a096894ba461a6cf6a (diff)
downloadwebui-vue-c4844b457cb7eeb8cab0ee8dca179be684a38b17.tar.xz
Revert "Change eslint rules to use vue recommended"
Merged accidentally. Although this one did have the proper +1s/+2s. The 2 underneath did not. The author will resubmit. This reverts commit 5e7ac49058e5dc37fd43ecf3c0d06f5dda14af5b. Change-Id: Iceb1de3a170cc0b592b183545c792aa3eb87bfee Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'src/components/Global')
-rw-r--r--src/components/Global/PageSection.vue7
-rw-r--r--src/components/Global/PageTitle.vue7
-rw-r--r--src/components/Global/StatusIcon.vue7
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>