Browse Source

Hide ProTip on dashboard if user comes from social sharing

Gaël Métais 10 years ago
parent
commit
34468198ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      front/src/views/dashboard.html

+ 1 - 1
front/src/views/dashboard.html

@@ -35,7 +35,7 @@
         </div>
         </div>
     </div>
     </div>
 
 
-    <div ng-if="!error" class="apiTip">
+    <div ng-if="!error && !fromSocialShare" class="apiTip">
         <b>Did you know? Yellow Lab Tools now has an API</b>! <a href="{{getAPIUrl()}}" target="_blank">Here</a> is the JSON output for this run. Checkout <a href="https://github.com/gmetais/YellowLabTools/wiki/Public-API" target="_blank">the API doc</a>.
         <b>Did you know? Yellow Lab Tools now has an API</b>! <a href="{{getAPIUrl()}}" target="_blank">Here</a> is the JSON output for this run. Checkout <a href="https://github.com/gmetais/YellowLabTools/wiki/Public-API" target="_blank">the API doc</a>.
     </div>
     </div>