Remove default assumption as we do that before emitting event
This commit is contained in:
parent
9c0d7e27a3
commit
5859bd05b8
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ export default {
|
||||||
get_data(config) {
|
get_data(config) {
|
||||||
let url = `${this.api_url}/me/top/${config.type.toLowerCase()}`;
|
let url = `${this.api_url}/me/top/${config.type.toLowerCase()}`;
|
||||||
|
|
||||||
let limit = config.limit || 10;
|
let limit = config.limit;
|
||||||
|
|
||||||
url += `?limit=${limit}&time_range=${config.duration}`;
|
url += `?limit=${limit}&time_range=${config.duration}`;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue