Rename all 'widget' ocurrences by 'dataview'
This commit is contained in:
parent
746292610a
commit
cc2cf78264
@ -196,11 +196,11 @@ module.exports = class Aggregation extends BaseDataview {
|
||||
super();
|
||||
|
||||
if (typeof options.column !== 'string') {
|
||||
throw new Error(`Aggregation expects 'column' in widget options`);
|
||||
throw new Error(`Aggregation expects 'column' in dataview options`);
|
||||
}
|
||||
|
||||
if (typeof options.aggregation !== 'string') {
|
||||
throw new Error(`Aggregation expects 'aggregation' operation in widget options`);
|
||||
throw new Error(`Aggregation expects 'aggregation' operation in dataview options`);
|
||||
}
|
||||
|
||||
if (!VALID_OPERATIONS[options.aggregation]) {
|
||||
|
Loading…
Reference in New Issue
Block a user