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
committerDerick Montague <derick.montague@ibm.com>2020-01-31 02:06:25 +0300
commit09e45cd4f5e233d4ec75c086dd7ab912a2f79a41 (patch)
tree825a8c58830b45d5d6dc7d879f16efee575f5ce9 /src/components/Global/StatusIcon.vue
parent4b0fc1dbb3f60a485d3ba7ec27d7654a8ea0d382 (diff)
downloadwebui-vue-09e45cd4f5e233d4ec75c086dd7ab912a2f79a41.tar.xz
Change eslint rules to use vue recommended
Resubmitting after reverted–original commit here https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/28763/7 - Ran npm run lint - Resolved eslint issues Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I2b8b9244acddd483d0a72f9a5d156a79de9869a0
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>