mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-11 15:10:26 +01:00
fix some linting errors in ChuckNorris.vue
This commit is contained in:
parent
9fc0254cf8
commit
31b7a07078
@ -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…
x
Reference in New Issue
Block a user