mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
committed by
GitHub
parent
b93f9ec598
commit
7eceb140be
@@ -14,7 +14,7 @@ export default function QueryAndSaveBtns({ canAdd, onQuery }) {
|
||||
return (
|
||||
<div className="btn-group query-and-save">
|
||||
<button type="button" className="btn btn-primary btn-sm" onClick={onQuery}>
|
||||
<i className="fa fa-bolt"></i>Query
|
||||
<i className="fa fa-bolt"></i> Query
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
@@ -22,7 +22,7 @@ export default function QueryAndSaveBtns({ canAdd, onQuery }) {
|
||||
data-target="#save_modal"
|
||||
data-toggle="modal"
|
||||
>
|
||||
<i className="fa fa-plus-circle"></i>Save as
|
||||
<i className="fa fa-plus-circle"></i> Save as
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -153,8 +153,8 @@ const px = function () {
|
||||
if (data !== undefined) {
|
||||
$('#query_container').html(data.query);
|
||||
}
|
||||
$('#timer').removeClass('btn-warning');
|
||||
$('#timer').addClass('btn-success');
|
||||
$('#timer').removeClass('label-warning label-danger');
|
||||
$('#timer').addClass('label-success');
|
||||
$('span.view_query').removeClass('disabled');
|
||||
$('#json').click(function () {
|
||||
window.location = data.json_endpoint;
|
||||
@@ -231,8 +231,8 @@ const px = function () {
|
||||
container.css('height', this.height());
|
||||
dttm = 0;
|
||||
timer = setInterval(stopwatch, 10);
|
||||
$('#timer').removeClass('btn-danger btn-success');
|
||||
$('#timer').addClass('btn-warning');
|
||||
$('#timer').removeClass('label-danger label-success');
|
||||
$('#timer').addClass('label-warning');
|
||||
this.viz.render();
|
||||
},
|
||||
resize() {
|
||||
|
||||
Reference in New Issue
Block a user