Skip to content

Commit d9ed773

Browse files
authored
Merge pull request #5657 from Countly/data-points-issues
[Data points] fixed tooltip issue
2 parents eb1ed2c + ba1fcf5 commit d9ed773

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

plugins/server-stats/frontend/public/javascripts/countly.views.js

+5
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,11 @@ var DataPointsView = countlyVue.views.create({
319319
}
320320
return table;
321321
}
322+
},
323+
computed: {
324+
tooltip: function() {
325+
return !this.app_id ? {description: this.description, placement: 'top-center'} : null;
326+
}
322327
}
323328
});
324329

plugins/server-stats/frontend/public/templates/data-points.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div v-bind:class="[componentId]">
22
<cly-header
33
:title="title"
4-
:tooltip="!app_id && {description, placement: 'top-center'}"
4+
:tooltip="tooltip"
55
>
66
<template v-slot:header-top >
77
<cly-back-link v-if="subPage" link="#/manage/data-points" :title ="i18n('common.back')"></cly-back-link>

0 commit comments

Comments
 (0)