Skip to content

Commit

Permalink
Enable data source details component (re #6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short authored and jezdez committed May 4, 2020
1 parent 74d6634 commit f07f0b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/app/assets/less/redash/query.less
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ a.label-tag {

.datasource-small {
visibility: hidden;
display: none !important;
}

// Visualization editor
Expand Down Expand Up @@ -442,6 +443,11 @@ nav .rg-bottom {
display: none;
}

.datasource-small {
visibility: visible;
display: inline-block !important;
}

.query-fullscreen {
flex-direction: column;
overflow: hidden;
Expand Down
2 changes: 2 additions & 0 deletions client/app/pages/queries/QuerySource.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Resizable from "@/components/Resizable";
import Parameters from "@/components/Parameters";
import EditInPlace from "@/components/EditInPlace";
import QueryEditor from "@/components/queries/QueryEditor";
import DynamicComponent from "@/components/DynamicComponent";
import recordEvent from "@/services/recordEvent";
import { ExecutionStatus } from "@/services/query-result";

Expand Down Expand Up @@ -218,6 +219,7 @@ function QuerySource(props) {
</Select.Option>
))}
</Select>
<DynamicComponent name="SelectDataSourceExtra" dataSourceId={dataSource ? dataSource.id : undefined} />
</div>
)}
<div className="editor__left__schema">
Expand Down

0 comments on commit f07f0b7

Please sign in to comment.