mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 08:34:14 +01:00
fix some linting errors in ChuckNorris.vue
This commit is contained in:
parent
9fc0254cf8
commit
31b7a07078
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ export default {
|
||||||
},
|
},
|
||||||
/* Combine data parameters for the API endpoint */
|
/* Combine data parameters for the API endpoint */
|
||||||
endpoint() {
|
endpoint() {
|
||||||
if (this.categories != '') return `${widgetApiEndpoints.chuckNorris}`+`?category=${this.categories}`;
|
if (this.categories !== '') return `${widgetApiEndpoints.chuckNorris}?category=${this.categories}`;
|
||||||
if (this.categories == '') return `${widgetApiEndpoints.chuckNorris}`;
|
return `${widgetApiEndpoints.chuckNorris}`;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue