You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2018/03/13 00:27:56 UTC
[kylin] 05/05: KYLIN-3280 The delete button should not be enabled
without any segment in cube segment delete confirm dialog
This is an automated email from the ASF dual-hosted git repository.
billyliu pushed a commit to branch 2.3.x
in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 066ac49a34f9c31aa0e500c9d80c4dbd56cf5d92
Author: xingpeng1 <xi...@zte.com.cn>
AuthorDate: Tue Mar 13 08:26:13 2018 +0800
KYLIN-3280 The delete button should not be enabled without any segment in cube segment delete confirm dialog
---
webapp/app/partials/cubes/cube_delete_segment.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/app/partials/cubes/cube_delete_segment.html b/webapp/app/partials/cubes/cube_delete_segment.html
index 8500f3f..93356ee 100644
--- a/webapp/app/partials/cubes/cube_delete_segment.html
+++ b/webapp/app/partials/cubes/cube_delete_segment.html
@@ -83,7 +83,7 @@
<div class="modal-footer">
<button class="btn btn-primary" ng-click="cancel()">Close</button>
- <button class="btn btn-success" ng-click="deleteSegment()">Delete
+ <button class="btn btn-success" ng-click="deleteSegment()" ng-disabled="!(cube.segments && cube.segments.length > 0)">Delete
</button>
</div>
</script>
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
billyliu@apache.org.