summaryrefslogtreecommitdiff
path: root/src/components/Global/StatusIcon.vue
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-01-24 00:45:57 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-01-29 01:18:05 +0300
commit5e7ac49058e5dc37fd43ecf3c0d06f5dda14af5b (patch)
tree7d7e9f96d1f2e41a702792c3268b81629f3021be /src/components/Global/StatusIcon.vue
parent256f5b967beb1505cab73ce59f534b6b9860e38f (diff)
downloadwebui-vue-5e7ac49058e5dc37fd43ecf3c0d06f5dda14af5b.tar.xz
Change eslint rules to use vue recommended
- Ran npm run lint - Resolved eslint issues Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Icd433ca55321d8bceb941e2d13ebade72bd4981f
Diffstat (limited to 'src/components/Global/StatusIcon.vue')
-rw-r--r--src/components/Global/StatusIcon.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/Global/StatusIcon.vue b/src/components/Global/StatusIcon.vue
index 63155c9a..a2c7f04f 100644
--- a/src/components/Global/StatusIcon.vue
+++ b/src/components/Global/StatusIcon.vue
@@ -13,11 +13,16 @@ 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>