From d6322b78eee962453a9a62d7e888740a375cb35c Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Sat, 18 Jul 2020 15:42:01 +0300 Subject: [PATCH] Lint fixes --- src/views/button/ButtonDoc.vue | 2 +- src/views/icons/Icons.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/button/ButtonDoc.vue b/src/views/button/ButtonDoc.vue index e15bc96f96..39b3d54c7a 100755 --- a/src/views/button/ButtonDoc.vue +++ b/src/views/button/ButtonDoc.vue @@ -114,7 +114,7 @@ import Button from 'primevue/button'; <Button> Custom Content </Button> - +
Properties

Any property such as style and class are passed to the underlying button element. Following are the additional properties to configure the component.

diff --git a/src/views/icons/Icons.vue b/src/views/icons/Icons.vue index 5b262f5e92..9ed1b69b19 100755 --- a/src/views/icons/Icons.vue +++ b/src/views/icons/Icons.vue @@ -75,9 +75,9 @@ export default { axios.get('demo/data/icons.json').then(res => { let icons = res.data.icons; icons.sort((icon1, icon2) => { - if(icon1.properties.name < icon2.properties.name) + if(icon1.properties.name < icon2.properties.name) return -1; - else if(icon1.properties.name < icon2.properties.name) + else if(icon1.properties.name < icon2.properties.name) return 1; else return 0;