瀏覽代碼

Hide ProTip on dashboard if user comes from social sharing

Gaël Métais 10 年之前
父節點
當前提交
34468198ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      front/src/views/dashboard.html

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

@@ -35,7 +35,7 @@
         </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>.
     </div>