superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: [explore] fix cached tooltip (#3526)
Date Thu, 28 Sep 2017 03:39:32 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d72eb4  [explore] fix cached tooltip (#3526)
3d72eb4 is described below

commit 3d72eb475ae6ed1a65981fa09038270416264896
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Wed Sep 27 20:39:29 2017 -0700

    [explore] fix cached tooltip (#3526)
---
 superset/assets/javascripts/components/CachedLabel.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/superset/assets/javascripts/components/CachedLabel.jsx b/superset/assets/javascripts/components/CachedLabel.jsx
index 8d0c0f2..9bfd037 100644
--- a/superset/assets/javascripts/components/CachedLabel.jsx
+++ b/superset/assets/javascripts/components/CachedLabel.jsx
@@ -23,14 +23,14 @@ class CacheLabel extends React.PureComponent {
   updateTooltipContent() {
     const cachedText = this.props.cachedTimestamp ? (
       <span>
-        t('Loaded data cached') <b>{moment.utc(this.props.cachedTimestamp).fromNow()}</b>
+        {t('Loaded data cached')}
+        <b> {moment.utc(this.props.cachedTimestamp).fromNow()}</b>
       </span>) :
       t('Loaded from cache');
 
     const tooltipContent = (
       <span>
-        {cachedText}.
-        {t('Click to force-refresh')}
+        {cachedText}. {t('Click to force-refresh')}
       </span>
     );
     this.setState({ tooltipContent });

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message