diff options
author | Derick Montague <derick.montague@ibm.com> | 2020-01-24 00:45:57 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-01-31 02:06:25 +0300 |
commit | 09e45cd4f5e233d4ec75c086dd7ab912a2f79a41 (patch) | |
tree | 825a8c58830b45d5d6dc7d879f16efee575f5ce9 /src/components/Global/StatusIcon.vue | |
parent | 4b0fc1dbb3f60a485d3ba7ec27d7654a8ea0d382 (diff) | |
download | webui-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.vue | 7 |
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> |