Skip to content

Commit

Permalink
Use ng-src for data source icons (#4123)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldutra authored and arikfr committed Sep 3, 2019
1 parent 302c6dd commit dcdec0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/app/pages/queries/query.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ <h3>
<ui-select ng-model="query.data_source_id" remove-selected="false" ng-disabled="!isQueryOwner || !sourceMode"
on-select="updateDataSource()" data-test="SelectDataSource">
<ui-select-match placeholder="Select Data Source..." class="align-items-center">
<img src="/static/images/db-logos/{{$select.selected.type}}.png" width="20" height="20" style="vertical-align: top">
<img ng-src="/static/images/db-logos/{{$select.selected.type}}.png" width="20" height="20" style="vertical-align: top">
{{$select.selected.name}}
</ui-select-match>
<ui-select-choices repeat="ds.id as ds in dataSources | filter:$select.search">
<img src="/static/images/db-logos/{{ds.type}}.png" width="20" height="20" class="m-r-5">{{ds.name}}
<img ng-src="/static/images/db-logos/{{ds.type}}.png" width="20" height="20" class="m-r-5">{{ds.name}}
</ui-select-choices>
</ui-select>
</div>
Expand Down

0 comments on commit dcdec0a

Please sign in to comment.