Skip to content

Commit 6933202

Browse files
committed
Notes buttons work for technology widget
1 parent 12cbd8e commit 6933202

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

frontend/express/public/core/device-and-type/javascripts/countly.views.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,19 @@ var GridComponent = countlyVue.views.create({
443443
}
444444
return val;
445445
},
446+
onWidgetCommand: function(event) {
447+
if (event === 'add' || event === 'manage' || event === 'show') {
448+
this.graphNotesHandleCommand(event);
449+
return;
450+
}
451+
else if (event === 'zoom') {
452+
this.triggerZoom();
453+
return;
454+
}
455+
else {
456+
return this.$emit('command', event);
457+
}
458+
},
446459
}
447460
});
448461

0 commit comments

Comments
 (0)