You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2020/02/06 07:33:45 UTC

[kylin] 06/12: KYLIN-3741 when the sql result is empty and limit is 0 , should not have 'load more' bar

This is an automated email from the ASF dual-hosted git repository.

nic pushed a commit to branch 2.6.x
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit 3f746ad56f5365c3f68ad041af0f3f4ef93ce18b
Author: hahayuan <yh...@126.com>
AuthorDate: Tue Dec 25 20:09:19 2018 +0800

    KYLIN-3741 when the sql result is empty and limit is 0 ,should not have 'load more' bar
---
 webapp/app/partials/query/query_detail.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webapp/app/partials/query/query_detail.html b/webapp/app/partials/query/query_detail.html
index 63cf5ac..66f6176 100644
--- a/webapp/app/partials/query/query_detail.html
+++ b/webapp/app/partials/query/query_detail.html
@@ -111,7 +111,7 @@
                 </div>
             </div>
 
-            <div style="width: 100%;padding-top: 5px" ng-if="curQuery.result.hasMore">
+            <div style="width: 100%;padding-top: 5px" ng-if="curQuery.result.hasMore && curQuery.result.results.length != 0">
                 <div>
                     <div>
                         <button class="btn btn-default btn-sm" style="float: none;width: 100%"